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

This commit is contained in:
Brad King 2003-01-15 19:17:09 -05:00
parent 93f39d0cb2
commit 31abd885e7
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -1,7 +1,7 @@
PLATFORM="hpux-static" PLATFORM="hpux-static"
CC="cc" CC="cc"
CXX="aCC" 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 entries into the cache file before building cmake.
write_cache() write_cache()