From a4ef70f8fb494f03e1a90f030d0cb20b98a38c1b Mon Sep 17 00:00:00 2001 From: Nick White Date: Sun, 16 Aug 2009 00:15:48 +0100 Subject: Unquote variables intended to be separate Undo overzealous quoting which would stop for loops from operating correctly. --- auto-installer.sh | 4 ++-- 1 file 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 -- cgit v1.2.3