Date: Wed, 14 Nov 2018 18:12:23 +0000 (UTC) From: Bryan Drewery <bdrewery@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r484937 - in head: devel/llvm-cheri/files devel/llvm-devel/files devel/llvm35/files devel/llvm38/files devel/llvm40/files devel/llvm50/files devel/llvm60/files devel/llvm70/files lang/c... Message-ID: <201811141812.wAEICN6v058674@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bdrewery Date: Wed Nov 14 18:12:23 2018 New Revision: 484937 URL: https://svnweb.freebsd.org/changeset/ports/484937 Log: 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 Modified: head/devel/llvm-cheri/files/llvm-wrapper.sh.in head/devel/llvm-devel/files/llvm-wrapper.sh.in head/devel/llvm35/files/llvm-wrapper.sh.in head/devel/llvm38/files/llvm-wrapper.sh.in head/devel/llvm40/files/llvm-wrapper.sh.in head/devel/llvm50/files/llvm-wrapper.sh.in head/devel/llvm60/files/llvm-wrapper.sh.in head/devel/llvm70/files/llvm-wrapper.sh.in head/lang/clang35/files/llvm-wrapper.sh.in Modified: head/devel/llvm-cheri/files/llvm-wrapper.sh.in ============================================================================== --- head/devel/llvm-cheri/files/llvm-wrapper.sh.in Wed Nov 14 18:03:50 2018 (r484936) +++ head/devel/llvm-cheri/files/llvm-wrapper.sh.in Wed Nov 14 18:12:23 2018 (r484937) @@ -8,4 +8,4 @@ tool=$(/bin/realpath $0) tool=${tool##*/} tool="${LLVM_PREFIX}/bin/${tool%${LLVM_SUFFIX}}" LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${LLVM_PREFIX}/lib" \ - "${tool}" "${@}" + exec "${tool}" "${@}" Modified: head/devel/llvm-devel/files/llvm-wrapper.sh.in ============================================================================== --- head/devel/llvm-devel/files/llvm-wrapper.sh.in Wed Nov 14 18:03:50 2018 (r484936) +++ head/devel/llvm-devel/files/llvm-wrapper.sh.in Wed Nov 14 18:12:23 2018 (r484937) @@ -8,4 +8,4 @@ tool=$(/bin/realpath $0) tool=${tool##*/} tool="${LLVM_PREFIX}/bin/${tool%${LLVM_SUFFIX}}" LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${LLVM_PREFIX}/lib" \ - "${tool}" "${@}" + exec "${tool}" "${@}" Modified: head/devel/llvm35/files/llvm-wrapper.sh.in ============================================================================== --- head/devel/llvm35/files/llvm-wrapper.sh.in Wed Nov 14 18:03:50 2018 (r484936) +++ head/devel/llvm35/files/llvm-wrapper.sh.in Wed Nov 14 18:12:23 2018 (r484937) @@ -8,4 +8,4 @@ tool=$(/bin/realpath $0) tool=${tool##*/} tool="${LLVM_PREFIX}/bin/${tool%${LLVM_SUFFIX}}" LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${LLVM_PREFIX}/lib" \ - "${tool}" "${@}" + exec "${tool}" "${@}" Modified: head/devel/llvm38/files/llvm-wrapper.sh.in ============================================================================== --- head/devel/llvm38/files/llvm-wrapper.sh.in Wed Nov 14 18:03:50 2018 (r484936) +++ head/devel/llvm38/files/llvm-wrapper.sh.in Wed Nov 14 18:12:23 2018 (r484937) @@ -8,4 +8,4 @@ tool=$(/bin/realpath $0) tool=${tool##*/} tool="${LLVM_PREFIX}/bin/${tool%${LLVM_SUFFIX}}" LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${LLVM_PREFIX}/lib" \ - "${tool}" "${@}" + exec "${tool}" "${@}" Modified: head/devel/llvm40/files/llvm-wrapper.sh.in ============================================================================== --- head/devel/llvm40/files/llvm-wrapper.sh.in Wed Nov 14 18:03:50 2018 (r484936) +++ head/devel/llvm40/files/llvm-wrapper.sh.in Wed Nov 14 18:12:23 2018 (r484937) @@ -8,4 +8,4 @@ tool=$(/bin/realpath $0) tool=${tool##*/} tool="${LLVM_PREFIX}/bin/${tool%${LLVM_SUFFIX}}" LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${LLVM_PREFIX}/lib" \ - "${tool}" "${@}" + exec "${tool}" "${@}" Modified: head/devel/llvm50/files/llvm-wrapper.sh.in ============================================================================== --- head/devel/llvm50/files/llvm-wrapper.sh.in Wed Nov 14 18:03:50 2018 (r484936) +++ head/devel/llvm50/files/llvm-wrapper.sh.in Wed Nov 14 18:12:23 2018 (r484937) @@ -8,4 +8,4 @@ tool=$(/bin/realpath $0) tool=${tool##*/} tool="${LLVM_PREFIX}/bin/${tool%${LLVM_SUFFIX}}" LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${LLVM_PREFIX}/lib" \ - "${tool}" "${@}" + exec "${tool}" "${@}" Modified: head/devel/llvm60/files/llvm-wrapper.sh.in ============================================================================== --- head/devel/llvm60/files/llvm-wrapper.sh.in Wed Nov 14 18:03:50 2018 (r484936) +++ head/devel/llvm60/files/llvm-wrapper.sh.in Wed Nov 14 18:12:23 2018 (r484937) @@ -8,4 +8,4 @@ tool=$(/bin/realpath $0) tool=${tool##*/} tool="${LLVM_PREFIX}/bin/${tool%${LLVM_SUFFIX}}" LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${LLVM_PREFIX}/lib" \ - "${tool}" "${@}" + exec "${tool}" "${@}" Modified: head/devel/llvm70/files/llvm-wrapper.sh.in ============================================================================== --- head/devel/llvm70/files/llvm-wrapper.sh.in Wed Nov 14 18:03:50 2018 (r484936) +++ head/devel/llvm70/files/llvm-wrapper.sh.in Wed Nov 14 18:12:23 2018 (r484937) @@ -8,4 +8,4 @@ tool=$(/bin/realpath $0) tool=${tool##*/} tool="${LLVM_PREFIX}/bin/${tool%${LLVM_SUFFIX}}" LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${LLVM_PREFIX}/lib" \ - "${tool}" "${@}" + exec "${tool}" "${@}" Modified: head/lang/clang35/files/llvm-wrapper.sh.in ============================================================================== --- head/lang/clang35/files/llvm-wrapper.sh.in Wed Nov 14 18:03:50 2018 (r484936) +++ head/lang/clang35/files/llvm-wrapper.sh.in Wed Nov 14 18:12:23 2018 (r484937) @@ -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}" "${@}"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811141812.wAEICN6v058674>