]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | #!/bin/sh |
2 | set -e | |
3 | ||
4 | # ccache breaks if it sees CCACHE_DIR="", yet due to clumsiness of | |
5 | # /usr/bin/env, it's hard to avoid setting env vars for the parent; | |
6 | # unset them if they're empty | |
7 | ||
8 | if [ -z "$CCACHE_DIR" ]; then | |
9 | unset CCACHE_DIR | |
10 | fi | |
11 | ||
12 | if [ -z "$CC" ]; then | |
13 | unset CC | |
14 | fi | |
15 | ||
16 | if [ -z "$CXX" ]; then | |
17 | unset CXX | |
18 | fi | |
19 | ||
20 | exec "$@" |