diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2018-11-15 02:12:23 +0800 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2018-11-15 02:12:23 +0800 |
commit | 79f814ae219d7d2487bc267bec6f5693d7a44089 (patch) | |
tree | e2f6f8aa336e0a1b5bb8a2998c88dbc796f14c81 /lang | |
parent | 4a5326a269fe19d94c579fc6804b33790d31370b (diff) | |
download | freebsd-ports-gnome-79f814ae219d7d2487bc267bec6f5693d7a44089.tar.gz freebsd-ports-gnome-79f814ae219d7d2487bc267bec6f5693d7a44089.tar.zst freebsd-ports-gnome-79f814ae219d7d2487bc267bec6f5693d7a44089.zip |
Use exec in wrapper to avoid an extra shell process sticking around.
I purposely didn't bump PORTREVISION for this as it's not really
worth a rebuild even though technically required.
Approved by: brooks
Diffstat (limited to 'lang')
-rw-r--r-- | lang/clang35/files/llvm-wrapper.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/clang35/files/llvm-wrapper.sh.in b/lang/clang35/files/llvm-wrapper.sh.in index f2b952f530dd..b06754a834c0 100644 --- a/lang/clang35/files/llvm-wrapper.sh.in +++ b/lang/clang35/files/llvm-wrapper.sh.in @@ -8,4 +8,4 @@ tool=$(basename $0) tool="${LLVM_PREFIX}/bin/${tool%${LLVM_SUFFIX}}" PYTHONPATH="${PYTHONPATH:+${PYTHONPATH}:}${LLVM_PREFIX}/lib/python" \ LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${LLVM_PREFIX}/lib" \ - "${tool}" "${@}" + exec "${tool}" "${@}" |