diff options
Diffstat (limited to 'scripts/wrapper/gcc-wrapper')
-rwxr-xr-x | scripts/wrapper/gcc-wrapper | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/wrapper/gcc-wrapper b/scripts/wrapper/gcc-wrapper index 624938f98..572b3b4a8 100755 --- a/scripts/wrapper/gcc-wrapper +++ b/scripts/wrapper/gcc-wrapper @@ -1,6 +1,7 @@ #!/bin/sh -. "$(dirname "$(readlink -f "$0")")/libwrapper.sh" || exit +WRAPPER_DIR="$(dirname "$(readlink -f "$0")")" +. "${WRAPPER_DIR}/libwrapper.sh" || exit cc_check_args "${@}" |