X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7e2bb04d4e4c6f9bf91318d139bb33ca41c51065..abd474ea63667f727940a009cc3e0b23ba9f418f:/src/os2/dllnames.sh?ds=sidebyside diff --git a/src/os2/dllnames.sh b/src/os2/dllnames.sh index 46abcde3e0..443b0da78e 100644 --- a/src/os2/dllnames.sh +++ b/src/os2/dllnames.sh @@ -6,6 +6,8 @@ # a short(er) DLL name from it. dllFile="$1" +dirName=`echo $dllFile | sed 's-\(.*[/\\]\)[^/\\]*$-\1-'` +dllFile=`echo $dllFile | sed 's-.*[/\\]\([^/\\]*\)$-\1-'` case $dllFile in *wx_base_*) dllFile=`echo $dllFile | sed 's/base_\(...\)/b\1/'` @@ -26,5 +28,5 @@ case $dllFile in ;; esac dllFile="`echo $dllFile | sed 's/\.//' | sed 's/_//' | sed 's/-//'`" -echo $dllFile +echo $dirName$dllFile exit 0 \ No newline at end of file