From cd39986e9121ace6edecda23c838ddceea44cdf2 Mon Sep 17 00:00:00 2001 From: Simon McVittie <smcv@collabora.com> Date: Fri, 1 Feb 2019 10:51:14 +0000 Subject: [PATCH] wrap: Print wrapped command Signed-off-by: Simon McVittie <smcv@collabora.com> --- pressure-vessel-wrap | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pressure-vessel-wrap b/pressure-vessel-wrap index b09d36711..c7351bd6f 100755 --- a/pressure-vessel-wrap +++ b/pressure-vessel-wrap @@ -257,6 +257,10 @@ if [ -n "$verbose" ]; then printf '\tPhysical: %q\n' "$(pwd -P)" >&2 echo "Environment variables:" >&2 env | sed -e 's/^/\t/' >&2 + echo "Wrapped command:" >&2 + for arg in "$@"; do + printf '\t%q\n' "$arg" >&2 + done fi if [ -n "$xterm" ]; then -- GitLab