]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Solaris /bin/sh build fix
authorJoel Rosdahl <joel@rosdahl.net>
Wed, 3 Nov 2010 18:00:33 +0000 (19:00 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Wed, 3 Nov 2010 18:00:33 +0000 (19:00 +0100)
test.sh

diff --git a/test.sh b/test.sh
index c62a67169a41dcee44e3bdccaee409ac11f84867..375b26198d13e9bf700475a6d28ee0d03be78120 100755 (executable)
--- a/test.sh
+++ b/test.sh
@@ -1170,9 +1170,9 @@ EOF
         fi
     done
     CCACHE_SLOPPINESS=include_file_mtime $CCACHE $COMPILER -c strange.c
-    manifest=$(find $CCACHE_DIR -name '*.manifest')
+    manifest=`find $CCACHE_DIR -name '*.manifest'`
     if [ -n "$manifest" ]; then
-        data="$($CCACHE --dump-manifest $manifest | egrep '/dev/(stdout|tty|sda|hda)')"
+        data="`$CCACHE --dump-manifest $manifest | egrep '/dev/(stdout|tty|sda|hda'`"
         if [ -n "$data" ]; then
             test_failed "$manifest contained troublesome file(s): $data"
         fi