summaryrefslogtreecommitdiff
path: root/bg2
diff options
context:
space:
mode:
Diffstat (limited to 'bg2')
-rwxr-xr-xbg2/install-4cd-minimal-us.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/bg2/install-4cd-minimal-us.sh b/bg2/install-4cd-minimal-us.sh
index 3f61614..e4dc0cb 100755
--- a/bg2/install-4cd-minimal-us.sh
+++ b/bg2/install-4cd-minimal-us.sh
@@ -19,8 +19,8 @@
# 02110-1301 USA.
scriptdir="$(dirname $0)"/..
-source "$scriptdir/includes/generic-includes.sh"
-source "$scriptdir/includes/cd-includes.sh"
+source "${scriptdir}/includes/generic-includes.sh"
+source "${scriptdir}/includes/cd-includes.sh"
parseargs "$@"
@@ -31,10 +31,10 @@ getcd 1 $BG2_4CD_US_MD5 data1.cab
mkdir -p "$TARGETDIR" || die
mkdir -p "${TARGETDIR}/portraits" || die
-cp $CDMOUNT/baldur.ico "$TARGETDIR" || die
+cp "${CDMOUNT}/baldur.ico" "$TARGETDIR" || die
# FIXME: strip hd0_ from all folder names
-unshield -L x $CDMOUNT/data1.cab -d "$TARGETDIR" || die
+unshield -L x "${CDMOUNT}/data1.cab" -d "$TARGETDIR" || die
rm -r "${TARGETDIR}/_"* # remove all the the fake directories.