summaryrefslogtreecommitdiff
path: root/iwd/install-patch-us.sh
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2009-06-01 01:32:49 +0100
committerNick White <git@njw.me.uk>2009-06-01 01:32:49 +0100
commita45222f981eab7f3247dc4250a332ecdcb427cd2 (patch)
tree5d686ce59016070a8f21bded3f6908d24ecda402 /iwd/install-patch-us.sh
parentad17a4eecad2230adae76869803dd003f3f9db83 (diff)
downloadgemrb-gameinstallers-a45222f981eab7f3247dc4250a332ecdcb427cd2.tar.bz2
gemrb-gameinstallers-a45222f981eab7f3247dc4250a332ecdcb427cd2.zip
Safely escaped more variables
Following Nick Daly's lead...
Diffstat (limited to 'iwd/install-patch-us.sh')
-rwxr-xr-xiwd/install-patch-us.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/iwd/install-patch-us.sh b/iwd/install-patch-us.sh
index f17c429..1bea57c 100755
--- a/iwd/install-patch-us.sh
+++ b/iwd/install-patch-us.sh
@@ -35,9 +35,9 @@ setuptmp
getpatch $patch_url
-cabextract -L -s $TMPDIR/$patch_name -d $TMPDIR || diesoftly
-cp -R $TMPDIR/override/* "$TARGETDIR"/override || diesoftly
-cp -R $TMPDIR/scripts/* "$TARGETDIR"/scripts || diesoftly
+cabextract -L -s "${TMPDIR}/${patch_name}" -d "$TMPDIR" || diesoftly
+cp -R "${TMPDIR}/override/"* "${TARGETDIR}/override" || diesoftly
+cp -R "${TMPDIR}/scripts/"* "${TARGETDIR}/scripts" || diesoftly
cleanuptmp
setperms "$TARGETDIR"