X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7e2bb04d4e4c6f9bf91318d139bb33ca41c51065..3e7968c2dae5710f0f1efc43193fc985de7e6ba3:/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