From 2b5d0fe643cb7abc9a75634d576a6ea19d39ddcf Mon Sep 17 00:00:00 2001 From: Nick White Date: Mon, 1 Jun 2009 03:18:01 +0100 Subject: Added more info to patches & improved url handling --- iwd/install-patch-uk-fix.sh | 2 +- iwd/install-patch-us.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'iwd') 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" -- cgit v1.2.3