summaryrefslogtreecommitdiffstats
path: root/Utilities/cmake_release_cygwin.sh
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-09-24 14:47:04 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-09-24 14:47:04 (GMT)
commit9314bb40add37045e4b2fe47234f8cb0d0e71ad6 (patch)
treeab1d8cbfe0b1c3e61a5bd2a4a45dc9bd3ca6f05a /Utilities/cmake_release_cygwin.sh
parentd86d95cf2b1b8b6e7f5985c9a4074347554a2fb7 (diff)
downloadCMake-9314bb40add37045e4b2fe47234f8cb0d0e71ad6.zip
CMake-9314bb40add37045e4b2fe47234f8cb0d0e71ad6.tar.gz
CMake-9314bb40add37045e4b2fe47234f8cb0d0e71ad6.tar.bz2
use /usr/bin/find and uname for cygwin version
Diffstat (limited to 'Utilities/cmake_release_cygwin.sh')
-rwxr-xr-xUtilities/cmake_release_cygwin.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/Utilities/cmake_release_cygwin.sh b/Utilities/cmake_release_cygwin.sh
index d8a66ea..d9b1660 100755
--- a/Utilities/cmake_release_cygwin.sh
+++ b/Utilities/cmake_release_cygwin.sh
@@ -16,14 +16,15 @@ SELF_DIR=`cd \`echo "$0" | sed -n '/\//{s/\/[^\/]*$//;p;}'\`;pwd`
WriteREADME()
{
+CYGVERSION=`uname -r`
cat > ${PKG}-${VER}/CYGWIN-PATCHES/cmake.README <<EOF
cmake
--------------------------------------
Runtime requirements:
- cygwin-1.3.5 or newer
+ cygwin-${CYGVERSION} or newer
Build requirements
- cygwin-1.3.5 or newer
+ cygwin-${CYGVERSION} or newer
make
Canonical homepage:
@@ -84,7 +85,6 @@ SourcePatch()
mkdir -p ${PKG}-${VER}/CYGWIN-PATCHES &&
WriteREADME &&
WriteSetupHint &&
- cp ${PKG}-${VER}/Utilities/setup.hint ${PKG}-${VER}/CYGWIN-PATCHES &&
(diff -urN "${PKG}-${VER}-orig" "${PKG}-${VER}" > "${FULLPKG}.patch")
rm -rf ${PKG}-${VER} ${PKG}-${VER}-orig
}