ENH: Release script now exports PATH and LD_LIBRARY_PATH to remove the burden from the configuration scripts.
This commit is contained in:
parent
93f39d0cb2
commit
31abd885e7
|
@ -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,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()
|
||||
|
|
Loading…
Reference in New Issue