summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-01-17 20:15:52 (GMT)
committerBrad King <brad.king@kitware.com>2003-01-17 20:15:52 (GMT)
commitcbda98b151e0e705b8f5c65019748ac04fb24124 (patch)
tree8f36b72ac52cfa82e062faf3b0ee8b0d6da15312 /Utilities
parentd5a661b9b99d05e3fdad9e1d44c0edeb4eb715bf (diff)
downloadCMake-cbda98b151e0e705b8f5c65019748ac04fb24124.zip
CMake-cbda98b151e0e705b8f5c65019748ac04fb24124.tar.gz
CMake-cbda98b151e0e705b8f5c65019748ac04fb24124.tar.bz2
ENH: Added sanity check for setting of WX_RESOURCES by config_Darwin for osx_install.
Diffstat (limited to 'Utilities')
-rwxr-xr-xUtilities/Release/cmake_release.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/Utilities/Release/cmake_release.sh b/Utilities/Release/cmake_release.sh
index 9f80ca9..426ea49 100755
--- a/Utilities/Release/cmake_release.sh
+++ b/Utilities/Release/cmake_release.sh
@@ -497,6 +497,10 @@ osx_install()
[ -z "${DONE_osx_install}" ] || return 0 ; DONE_osx_install="yes"
config || return 1
[ -f "cmake-${VERSION}-${PLATFORM}/Source/ccmake" ] || build || return 1
+ if [ -z "${WX_RESOURCES}" ]; then
+ echo "${CONFIG_FILE} should specify WX_RESOURCES."
+ return 1
+ fi
echo "Running make install for OSX package ..." &&
(
rm -rf OSX &&