summaryrefslogtreecommitdiff
path: root/iwd
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2009-06-01 03:18:01 +0100
committerNick White <git@njw.me.uk>2009-06-01 03:18:01 +0100
commit2b5d0fe643cb7abc9a75634d576a6ea19d39ddcf (patch)
tree39854c5270c968b5deeaad12fc22ecd093af89bf /iwd
parenta45222f981eab7f3247dc4250a332ecdcb427cd2 (diff)
downloadgemrb-gameinstallers-2b5d0fe643cb7abc9a75634d576a6ea19d39ddcf.tar.bz2
gemrb-gameinstallers-2b5d0fe643cb7abc9a75634d576a6ea19d39ddcf.zip
Added more info to patches & improved url handling
Diffstat (limited to 'iwd')
-rwxr-xr-xiwd/install-patch-uk-fix.sh2
-rwxr-xr-xiwd/install-patch-us.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/iwd/install-patch-uk-fix.sh b/iwd/install-patch-uk-fix.sh
index 27b1711..63fc051 100755
--- a/iwd/install-patch-uk-fix.sh
+++ b/iwd/install-patch-uk-fix.sh
@@ -22,7 +22,7 @@
# date : 9/27/00
patch_url="http://www.sorcerers.net/Games2/IWD/iwdukpatch.exe"
-patch_name="iwdukpatch.exe"
+patch_name="$(basename $patch_url)"
scriptdir="$(dirname $0)"/..
source "${scriptdir}/includes/generic-includes.sh"
diff --git a/iwd/install-patch-us.sh b/iwd/install-patch-us.sh
index 1bea57c..d636baa 100755
--- a/iwd/install-patch-us.sh
+++ b/iwd/install-patch-us.sh
@@ -21,7 +21,7 @@
# date : 7/30/00
patch_url="http://www.sorcerers.net/Games2/IWD/iwdpatch106.exe"
-patch_name="iwdpatch106.exe"
+patch_name="$(basename $patch_url)"
scriptdir="$(dirname $0)"/..
source "$scriptdir/includes/generic-includes.sh"