summaryrefslogtreecommitdiffstats
path: root/Utilities/cmake-cygwin-package.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-cygwin-package.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-cygwin-package.sh')
-rwxr-xr-xUtilities/cmake-cygwin-package.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/Utilities/cmake-cygwin-package.sh b/Utilities/cmake-cygwin-package.sh
index 80b7660..23ff392 100755
--- a/Utilities/cmake-cygwin-package.sh
+++ b/Utilities/cmake-cygwin-package.sh
@@ -65,7 +65,7 @@ install()
${INSTALL_DIR}${PREFIX}/doc/Cygwin/${FULLPKG}.README &&
touch ${INSTALL_DIR}${PREFIX}/doc/${PKG}-${VER}/MANIFEST &&
cd ${INSTALL_DIR} &&
- FILES=`find .${PREFIX} -type f |sed 's/^\.\//\//'` &&
+ FILES=`/usr/bin/find .${PREFIX} -type f |sed 's/^\.\//\//'` &&
(
cat >> ${INSTALL_DIR}${PREFIX}/doc/${PKG}-${VER}/MANIFEST <<EOF
${FILES}
@@ -78,8 +78,8 @@ strip()
{
(
cd ${INSTALL_DIR} &&
- find . -name "*.dll" | xargs strip >/dev/null 2>&1
- find . -name "*.exe" | xargs strip >/dev/null 2>&1
+ /usr/bin/find . -name "*.dll" | xargs strip >/dev/null 2>&1
+ /usr/bin/find . -name "*.exe" | xargs strip >/dev/null 2>&1
true
)
}