use sed only to filter CCache from $PATH
This commit is contained in:
parent
790c729447
commit
1a977a2192
1 changed files with 1 additions and 2 deletions
|
|
@ -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.$$
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue