From 0d14bb784aa524de00c88e9a25bb812c5339cc43 Mon Sep 17 00:00:00 2001 From: nick Date: Mon, 25 May 2009 18:26:27 -0500 Subject: Safely escaped all potentially unsafe variables. And probably a couple already safe ones too. --- bg1/install-patch-totsc-balderdash-text.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bg1/install-patch-totsc-balderdash-text.sh') diff --git a/bg1/install-patch-totsc-balderdash-text.sh b/bg1/install-patch-totsc-balderdash-text.sh index 36e4304..0d16147 100755 --- a/bg1/install-patch-totsc-balderdash-text.sh +++ b/bg1/install-patch-totsc-balderdash-text.sh @@ -17,8 +17,8 @@ # BG1 TOTSC Baldurdash text 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 "$@" @@ -35,8 +35,8 @@ getpatch http://www.baldurdash.org/LargeDownloads/BG1TOSCGameTextUpdate11.exe # unzip complains unnecessarily about skipping non-zip # part so don't print errors or die on failure -unzip -L $TMPDIR/BG1TOSCGameTextUpdate11.exe -d $TMPDIR 2>/dev/null -cp $TMPDIR/dialog.tlk "$TARGETDIR/" || diesoftly +unzip -L "${TMPDIR}/BG1TOSCGameTextUpdate11.exe" -d "$TMPDIR" 2>/dev/null +cp "${TMPDIR}/dialog.tlk" "${TARGETDIR}/" || diesoftly cleanuptmp setperms "$TARGETDIR" -- cgit v1.2.3