summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2007-01-12 14:46:10 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2007-01-12 14:46:10 (GMT)
commit525eb2dc040e25aa36c7d42575c7019121240f23 (patch)
treee89e6a680b6ee9552748558b063b082447e22a9a /Utilities
parent1d27c6a1946981bc266d276faa732ee4f259a250 (diff)
downloadCMake-525eb2dc040e25aa36c7d42575c7019121240f23.zip
CMake-525eb2dc040e25aa36c7d42575c7019121240f23.tar.gz
CMake-525eb2dc040e25aa36c7d42575c7019121240f23.tar.bz2
ENH: fix for newer cygwin
Diffstat (limited to 'Utilities')
-rwxr-xr-xUtilities/Release/cygwin-package.sh.in2
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/\-[^\-]*$//'`