summaryrefslogtreecommitdiff
path: root/iwd2
diff options
context:
space:
mode:
authorTasos Latsas <tlatsas@users.sourceforge.net>2009-06-18 15:50:48 +0300
committerNick White <git@njw.me.uk>2009-06-23 11:57:55 +0100
commitfeb2cd603ba1ae6e7dc04e17463c87777f882363 (patch)
tree74883a786c0cd1f6fa1774946596e5dafc4dd810 /iwd2
parent470b322c5cb3c392f77fc63bb14a1c61abf9180a (diff)
downloadgemrb-gameinstallers-feb2cd603ba1ae6e7dc04e17463c87777f882363.tar.bz2
gemrb-gameinstallers-feb2cd603ba1ae6e7dc04e17463c87777f882363.zip
pass unshield options before extract command
Diffstat (limited to 'iwd2')
-rwxr-xr-xiwd2/install-2cd-us-minimal.sh2
-rwxr-xr-xiwd2/install-patch-us.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/iwd2/install-2cd-us-minimal.sh b/iwd2/install-2cd-us-minimal.sh
index f057576..5af6459 100755
--- a/iwd2/install-2cd-us-minimal.sh
+++ b/iwd2/install-2cd-us-minimal.sh
@@ -28,7 +28,7 @@ getcd 1 $IWD2_2CD_US_MD5 data1.cab
mkdir -p "$TARGETDIR" || die
-unshield -L x "${CDMOUNT}/data1.cab" -d "$TARGETDIR" || die
+unshield -d "$TARGETDIR" -L x "${CDMOUNT}/data1.cab" || die
move_and_remove "${TARGETDIR}/minimum_compressed_-_us_english/" "$TARGETDIR" || die
move_and_remove "${TARGETDIR}/minimum_compressed_-_language_independent/" "$TARGETDIR" || die
diff --git a/iwd2/install-patch-us.sh b/iwd2/install-patch-us.sh
index bb2fa8f..2528e44 100755
--- a/iwd2/install-patch-us.sh
+++ b/iwd2/install-patch-us.sh
@@ -35,7 +35,7 @@ setuptmp
getpatch $patch_url
cabextract -L "${TMPDIR}/${patch_name}" -d "$TMPDIR" || diesoftly
-unshield -L x "${TMPDIR}/disk1/data1.cab" -d "$TMPDIR" || diesoftly
+unshield -d "$TMPDIR" -L x "${TMPDIR}/disk1/data1.cab" || diesoftly
cp -R "${TMPDIR}/minimum_compressed_-_language_independent/override/"* "${TARGETDIR}"/override || diesoftly
cp -R "${TMPDIR}/minimum_compressed_-_language_independent/scripts/"* "${TARGETDIR}"/scripts || diesoftly