summaryrefslogtreecommitdiff
path: root/iwd
diff options
context:
space:
mode:
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"