diff options
author | Björn Esser <me@besser82.io> | 2015-12-16 11:01:59 +0100 |
---|---|---|
committer | Björn Esser <me@besser82.io> | 2015-12-16 11:07:45 +0100 |
commit | 1a977a21922cb418de42c568aee418df3582f842 (patch) | |
tree | 1bb919b360552d7a263ed040039bed5b438b5ef3 /CCache | |
parent | 790c72944746ddcd6948daca89ecb4f758ac4493 (diff) | |
download | swig-1a977a21922cb418de42c568aee418df3582f842.tar.gz |
use sed only to filter CCache from $PATH
Diffstat (limited to 'CCache')
-rwxr-xr-x | CCache/test.sh | 3 |
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.$$ |