Ensure globbing is not running away wildly

This commit is contained in:
Trevor Joynson (trevorj)
2016-11-10 15:50:08 -08:00
parent eaf9ff9f74
commit 10f35d55b2

View File

@@ -1,4 +1,6 @@
#!/bin/zsh #!/bin/zsh
emulate -L zsh
setopt errexit errreturn setopt errexit errreturn
#setopt xtrace #setopt xtrace
@@ -59,7 +61,7 @@ template-S() {
VSYNC_POL "$vsync_polarity" VSYNC_POL "$vsync_polarity"
) )
local -a lines=("/* $name: $REPLY */") local -a lines=("/\* $name: $REPLY \*/")
local k local k
for k in ${(k)defines}; do for k in ${(k)defines}; do
lines+=("#define $k ${defines[$k]}") lines+=("#define $k ${defines[$k]}")