diff options
-rwxr-xr-x | auto-installer.sh | 4 |
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 |