Allow passing file names with path to dllnames.sh.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis 2006-11-05 14:47:14 +00:00
parent 860a4018b9
commit 0415c02d23

View File

@ -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