diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2007-01-12 14:46:10 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2007-01-12 14:46:10 (GMT) |
commit | 525eb2dc040e25aa36c7d42575c7019121240f23 (patch) | |
tree | e89e6a680b6ee9552748558b063b082447e22a9a /Utilities | |
parent | 1d27c6a1946981bc266d276faa732ee4f259a250 (diff) | |
download | CMake-525eb2dc040e25aa36c7d42575c7019121240f23.zip CMake-525eb2dc040e25aa36c7d42575c7019121240f23.tar.gz CMake-525eb2dc040e25aa36c7d42575c7019121240f23.tar.bz2 |
ENH: fix for newer cygwin
Diffstat (limited to 'Utilities')
-rwxr-xr-x | Utilities/Release/cygwin-package.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/Release/cygwin-package.sh.in b/Utilities/Release/cygwin-package.sh.in index 24ebd45..2453b07 100755 --- a/Utilities/Release/cygwin-package.sh.in +++ b/Utilities/Release/cygwin-package.sh.in @@ -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/\-[^\-]*$//'` |