summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2009-08-16 00:15:48 +0100
committerNick White <git@njw.me.uk>2009-08-16 00:15:48 +0100
commita4ef70f8fb494f03e1a90f030d0cb20b98a38c1b (patch)
tree359ca5fdc2c70d03db85a32c3f3c1e3ae2f92a04
parent0ebc215ca7ca9840deaf9b650ac58729360a482f (diff)
downloadgemrb-gameinstallers-a4ef70f8fb494f03e1a90f030d0cb20b98a38c1b.tar.bz2
gemrb-gameinstallers-a4ef70f8fb494f03e1a90f030d0cb20b98a38c1b.zip
Unquote variables intended to be separate
Undo overzealous quoting which would stop for loops from operating correctly.
-rwxr-xr-xauto-installer.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/auto-installer.sh b/auto-installer.sh
index 50da5fc..4d84887 100755
--- a/auto-installer.sh
+++ b/auto-installer.sh
@@ -69,7 +69,7 @@ if [ "$FULLINSTALL" -eq 0 ]; then
fi
if [ -n "$PATCHES" ]; then
- for patch in "$PATCHES"; do
+ for patch in $PATCHES; do
patch="$scriptdir/$patch"
# grab 17th line from scripts (description line; after license)
patchtitle=$(sed -n 17p "$patch"|cut -d ' ' -f 2-)
@@ -86,7 +86,7 @@ fi
if [ -n "$WINDOWSFILES" ]; then
if query "Do you want to remove unneeded windows files?" n; then
- for badfile in "$WINDOWSFILES"; do
+ for badfile in $WINDOWSFILES; do
rm -rf "${TARGETDIR}/${badfile}"
done
fi