summaryrefslogtreecommitdiff
path: root/CCache
diff options
context:
space:
mode:
Diffstat (limited to 'CCache')
-rwxr-xr-xCCache/test.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/CCache/test.sh b/CCache/test.sh
index d8640ccaa..438e782cd 100755
--- a/CCache/test.sh
+++ b/CCache/test.sh
@@ -18,8 +18,7 @@ fi
# fix: Remove ccache from $PATH if it exists
# as it will influence the unit tests
PATH="`echo $PATH | \
- awk -v RS=: -v ORS=: '/\/usr\/lib(64|)\/ccache(:|)/ {next} {print}' | \
- sed 's/:*$//'`"
+ sed -e 's!:/usr\(/local\)*/lib\([0-9]\)*/ccache\(/\)*!!g'`"
CCACHE=../ccache-swig
TESTDIR=test.$$