diff options
author | Brad King <brad.king@kitware.com> | 2003-01-17 20:15:52 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-01-17 20:15:52 (GMT) |
commit | cbda98b151e0e705b8f5c65019748ac04fb24124 (patch) | |
tree | 8f36b72ac52cfa82e062faf3b0ee8b0d6da15312 /Utilities | |
parent | d5a661b9b99d05e3fdad9e1d44c0edeb4eb715bf (diff) | |
download | CMake-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-x | Utilities/Release/cmake_release.sh | 4 |
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 && |