From: Joel Rosdahl Date: Sun, 30 May 2010 10:01:05 +0000 (+0200) Subject: Portability: Don't use export FOO=bar X-Git-Tag: v3.0~87 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f461122e8680eeddcead5bd7b43b94f230f4f5b5;p=thirdparty%2Fccache.git Portability: Don't use export FOO=bar --- diff --git a/test.sh b/test.sh index 048dc7d53..9d0ab7b40 100755 --- a/test.sh +++ b/test.sh @@ -1157,7 +1157,8 @@ EOF test_failed "Base dir (`pwd`) found in stderr:\n`cat stderr.txt`" fi - export CCACHE_NODIRECT=1 + CCACHE_NODIRECT=1 + export CCACHE_NODIRECT } compression_suite() { @@ -1231,7 +1232,8 @@ readonly_suite() { unset CCACHE_NODIRECT files_before=`find $CCACHE_DIR -type f | wc -l` CCACHE_READONLY=1 CCACHE_TEMPDIR=/tmp $CCACHE $COMPILER -c test.c -o test.o - export CCACHE_NODIRECT=1 + CCACHE_NODIRECT=1 + export CCACHE_NODIRECT if [ $? -ne 0 ]; then test_failed "failure when compiling test2.c readonly" fi