From 4f837e2cef827e6f700c5ae180551510ffedc718 Mon Sep 17 00:00:00 2001 From: Nick White Date: Sun, 16 Aug 2009 02:25:28 +0100 Subject: Work around unshield bug Basically, if extracting to a directory which was not itself lowercase, unshield would fail. This patch cds to the directory first, to work around the issue. http://sourceforge.net/tracker/?func=detail&aid=2801016&group_id=30550&atid=399601 --- bg1/install-patch-totsc-uk.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bg1/install-patch-totsc-uk.sh') diff --git a/bg1/install-patch-totsc-uk.sh b/bg1/install-patch-totsc-uk.sh index 4a7727d..260cf5e 100755 --- a/bg1/install-patch-totsc-uk.sh +++ b/bg1/install-patch-totsc-uk.sh @@ -36,7 +36,9 @@ setuptmp getpatch $patch_url cabextract -L "${TMPDIR}/${patch_name}" -d "$TMPDIR" || diesoftly -unshield -d "$TMPDIR" -L x "${TMPDIR}/data1.cab" || diesoftly +# work around unshield bug (#2801016 in SynCE project) +#unshield -d "$TMPDIR" -L x "${TMPDIR}/data1.cab" || diesoftly +cd "$TMPDIR" && unshield -d . -L x "${TMPDIR}/data1.cab" || diesoftly cp -R "${TMPDIR}/minimumdata/"* "$TARGETDIR" || diesoftly -- cgit v1.2.3