Просмотр исходного кода

ENH: Release script now exports PATH and LD_LIBRARY_PATH to remove the burden from the configuration scripts.

Brad King 23 лет назад
Родитель
Сommit
31abd885e7
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      Utilities/Release/cmake_release.sh
  2. 1 1
      Utilities/Release/config_HP-UX

+ 1 - 1
Utilities/Release/cmake_release.sh

@@ -209,7 +209,7 @@ configure()
     echo "Running configure ..." &&
     (
         cd "cmake-${VERSION}-${PLATFORM}" &&
-        export CC CXX CFLAGS CXXFLAGS &&
+        export CC CXX CFLAGS CXXFLAGS PATH LD_LIBRARY_PATH &&
         ../cmake-${VERSION}/configure --prefix=${PREFIX}
     ) >Logs/configure.log 2>&1 || error_log Logs/configure.log
 }

+ 1 - 1
Utilities/Release/config_HP-UX

@@ -1,7 +1,7 @@
 PLATFORM="hpux-static"
 CC="cc"
 CXX="aCC"
-export PATH=/usr/local/bin:/usr/bin:/opt/ansic/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/nettladm/bin:/opt/pd/bin:/opt/upgrade/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/atok/bin:/opt/asx/bin/X11:/opt/xdevice/bin:/opt/egb/bin:/opt/vje/bin:/opt/resmon/bin:/opt/hparray/bin:/opt/langtools/bin:/opt/imake/bin:/opt/aCC/bin
+PATH=/usr/local/bin:/usr/bin:/opt/ansic/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/nettladm/bin:/opt/pd/bin:/opt/upgrade/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/atok/bin:/opt/asx/bin/X11:/opt/xdevice/bin:/opt/egb/bin:/opt/vje/bin:/opt/resmon/bin:/opt/hparray/bin:/opt/langtools/bin:/opt/imake/bin:/opt/aCC/bin
 
 # Write entries into the cache file before building cmake.
 write_cache()