krebs/v2: simplify verbose

This commit is contained in:
tv 2016-02-02 03:57:32 +01:00
parent 942511acb1
commit 74120066f0

View File

@ -15,9 +15,7 @@ let
set -eu
verbose() {
printf '+' >&2
printf ' %q' "$@" >&2
printf '\n'
printf '+%s\n' "$(printf ' %q' "$@")" >&2
"$@"
}
@ -86,9 +84,8 @@ let
set -efu
verbose() {
printf '+' >&2
printf ' %q' "$@" >&2
printf '\n'
printf '+%s\n' "$(printf ' %q' "$@")" >&2
"$@"
}
fetch_git() {(