summaryrefslogtreecommitdiff
path: root/bg1/install-patch-baldurdash-fix.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bg1/install-patch-baldurdash-fix.sh')
-rwxr-xr-xbg1/install-patch-baldurdash-fix.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/bg1/install-patch-baldurdash-fix.sh b/bg1/install-patch-baldurdash-fix.sh
index be9b3be..a4c2122 100755
--- a/bg1/install-patch-baldurdash-fix.sh
+++ b/bg1/install-patch-baldurdash-fix.sh
@@ -17,8 +17,8 @@
# BG1/TOTSC Baldurdash fix pack
scriptdir="$(dirname $0)"/..
-source "$scriptdir/includes/generic-includes.sh"
-source "$scriptdir/includes/patch-includes.sh"
+source "${scriptdir}/includes/generic-includes.sh"
+source "${scriptdir}/includes/patch-includes.sh"
parseargs "$@"
@@ -30,9 +30,9 @@ getpatch http://www.baldurdash.org/LargeDownloads/BG1FixPack11.exe
# unzip complains unnecessarily about skipping non-zip
# part so don't print errors or die on failure
-unzip -L $TMPDIR/BG1FixPack11.exe -d $TMPDIR 2>/dev/null
-rm $TMPDIR/BG1FixPack11.exe $TMPDIR/bg1fixpack11readme.txt
-cp $TMPDIR/* "$TARGETDIR/override/" || diesoftly
+unzip -L "${TMPDIR}/BG1FixPack11.exe" -d "$TMPDIR" 2>/dev/null
+rm "${TMPDIR}/BG1FixPack11.exe" "${TMPDIR}/bg1fixpack11readme.txt"
+cp "${TMPDIR}/"* "${TARGETDIR}/override/" || diesoftly
cleanuptmp
setperms "$TARGETDIR"