ENH: fix for newer cygwin

This commit is contained in:
Bill Hoffman 2007-01-12 09:46:10 -05:00
parent 1d27c6a194
commit 525eb2dc04

View File

@ -1,6 +1,6 @@
#!/bin/sh
TOP_DIR=`cd \`echo "$0" | sed -n '/\//{s/\/[^\/]*$//;p;}'\`;pwd`
TOP_DIR=`cd \`echo "$0" | sed -n '/\//{s/\/[^\/]*$//;p;}'\`;pwd|dos2unix`
SELF_NAME=`basename "$0" .sh`
PKG=`echo ${SELF_NAME} | sed -e 's/\-[^\-]*\-[^\-]*$//'`
VER=`echo ${SELF_NAME} | sed -e 's/^[^\-]*\-//' -e 's/\-[^\-]*$//'`