Browse Source

ENH: Added sanity check for setting of WX_RESOURCES by config_Darwin for osx_install.

Brad King 23 years ago
parent
commit
cbda98b151
1 changed files with 4 additions and 0 deletions
  1. 4 0
      Utilities/Release/cmake_release.sh

+ 4 - 0
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 &&