summaryrefslogtreecommitdiffstats
path: root/Utilities/Release/release_cmake.sh.in
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-05-05 18:53:50 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-05-05 18:53:50 (GMT)
commit059320a5774fcaaced1a6155fec7dd5816bb1f75 (patch)
tree4754904fe6b9755371bfe46c7e34c6ac3c6ecf2c /Utilities/Release/release_cmake.sh.in
parent7b654d63ecc093e9ce936867f602478c9e61a455 (diff)
downloadCMake-059320a5774fcaaced1a6155fec7dd5816bb1f75.zip
CMake-059320a5774fcaaced1a6155fec7dd5816bb1f75.tar.gz
CMake-059320a5774fcaaced1a6155fec7dd5816bb1f75.tar.bz2
ENH: fix env vars
Diffstat (limited to 'Utilities/Release/release_cmake.sh.in')
-rwxr-xr-xUtilities/Release/release_cmake.sh.in7
1 files changed, 3 insertions, 4 deletions
diff --git a/Utilities/Release/release_cmake.sh.in b/Utilities/Release/release_cmake.sh.in
index a2e73c4..021dae8 100755
--- a/Utilities/Release/release_cmake.sh.in
+++ b/Utilities/Release/release_cmake.sh.in
@@ -13,20 +13,19 @@ check_exit_value()
}
if [ ! -z "@CC@" ]; then
- set CC="@CC@"
+ export CC="@CC@"
check_exit_value $? "set CC compiler env var" || exit 1
fi
if [ ! -z "@CXX@" ]; then
- set CXX="@CXX@"
+ export CXX="@CXX@"
check_exit_value $? "set CC compiler env var" || exit 1
fi
if [ ! -z "@LDFLAGS@" ]; then
- set LDFLAGS="@LDFLAGS@"
+ export LDFLAGS="@LDFLAGS@"
check_exit_value $? "set CC compiler env var" || exit 1
fi
-
if [ ! -z "@USER_MAKE_RULE_FILE_CONTENTS@" ]; then
echo "@USER_MAKE_RULE_FILE_CONTENTS@" > "@USER_MAKE_RULE_FILE@"
check_exit_value $? "Create User Rule file" || exit 1