summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--krebs/v2/default.nix9
1 files changed, 3 insertions, 6 deletions
diff --git a/krebs/v2/default.nix b/krebs/v2/default.nix
index ac1c13e72..cba7a75ff 100644
--- a/krebs/v2/default.nix
+++ b/krebs/v2/default.nix
@@ -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() {(