krebs/v2: simplify verbose
This commit is contained in:
parent
942511acb1
commit
74120066f0
@ -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() {(
|
||||
|
Loading…
Reference in New Issue
Block a user