]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
test: Fix unportable shell script construct
authorJoel Rosdahl <joel@rosdahl.net>
Sun, 3 Mar 2013 21:12:58 +0000 (22:12 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Sun, 3 Mar 2013 21:12:58 +0000 (22:12 +0100)
test.sh

diff --git a/test.sh b/test.sh
index 08eb08ab4fee90665c6fddc6fad759d98448f5c2..716721958017a85d32f274d5c1b6bcd5814cfc55 100755 (executable)
--- a/test.sh
+++ b/test.sh
@@ -46,7 +46,8 @@ unset CCACHE_UNIFY
 # Many tests backdate files, which updates their ctimes.  In those tests, we
 # must ignore ctimes.  Might as well do so everywhere.
 default_sloppiness=include_file_ctime
-export CCACHE_SLOPPINESS="$default_sloppiness"
+CCACHE_SLOPPINESS="$default_sloppiness"
+export CCACHE_SLOPPINESS
 
 test_failed() {
     echo "SUITE: \"$testsuite\", TEST: \"$testname\" - $1"