[cmake-commits] hoffman committed cygwin-package.sh.in 1.4.4.1 1.4.4.2
cmake-commits at cmake.org
cmake-commits at cmake.org
Fri Jan 12 09:46:19 EST 2007
Update of /cvsroot/CMake/CMake/Utilities/Release
In directory public:/mounts/ram/cvs-serv27081
Modified Files:
Tag: CMake-2-4
cygwin-package.sh.in
Log Message:
ENH: fix for newer cygwin
Index: cygwin-package.sh.in
===================================================================
RCS file: /cvsroot/CMake/CMake/Utilities/Release/cygwin-package.sh.in,v
retrieving revision 1.4.4.1
retrieving revision 1.4.4.2
diff -u -d -r1.4.4.1 -r1.4.4.2
--- cygwin-package.sh.in 10 Jan 2007 20:41:06 -0000 1.4.4.1
+++ cygwin-package.sh.in 12 Jan 2007 14:46:10 -0000 1.4.4.2
@@ -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/\-[^\-]*$//'`
More information about the Cmake-commits
mailing list