summaryrefslogtreecommitdiff
path: root/CCache/test.sh
diff options
context:
space:
mode:
authorFUTATSUKI Yasuhito <github-yf@yf.bsdclub.org>2017-06-24 21:41:59 +0900
committerFUTATSUKI Yasuhito <github-yf@yf.bsdclub.org>2017-06-24 21:58:57 +0900
commitc2f622c73c27fa370c6d643512b6d8591f0929f2 (patch)
tree577b80a788defcdc1518f7a0994652f153fc1a20 /CCache/test.sh
parentc6bff3731e59cb820bfaddae4d205a689bcde343 (diff)
downloadswig-c2f622c73c27fa370c6d643512b6d8591f0929f2.tar.gz
Fix make *clean issue in CCache subdir
Diffstat (limited to 'CCache/test.sh')
-rwxr-xr-xCCache/test.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/CCache/test.sh b/CCache/test.sh
index 7e69149ff..5b6f92a35 100755
--- a/CCache/test.sh
+++ b/CCache/test.sh
@@ -411,6 +411,10 @@ swigtests() {
# main program
rm -rf $TESTDIR
mkdir $TESTDIR
+if test -n "$CCACHE_PROG"; then
+ ln -s $CCACHE $TESTDIR/$CCACHE_PROG
+ CCACHE=./$CCACHE_PROG
+fi
cd $TESTDIR || exit 1
unset CCACHE_DIR