Skip to content

Commit 02ff8b2

Browse files
committed
awkward
1 parent b29a5f3 commit 02ff8b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

share/github-backup-utils/ghe-backup-config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,10 +194,10 @@ if [ -n "$GHE_VERBOSE" ]; then
194194
calling_script_name="$(caller | sed 's:.*/::')"
195195
date_format=$(date -u "+%FT%TZ")
196196
if [ "$TERM" = "dumb" ] || [[ "$OUTPUT_COLOR" != "yes" ]]; then
197-
exec 3> >(awk -v '{ print d" INFO ", c":", $0; fflush(); }' c="$calling_script_name" d="$date_format" >>"$GHE_VERBOSE_LOG")
197+
exec 3> >(awk '{ print d" INFO ", c":", $0; fflush(); }' -v c="$calling_script_name" d="$date_format" >>"$GHE_VERBOSE_LOG")
198198
else
199199
display_info=" ${GREEN}INFO${NC} "
200-
exec 3> >(awk -v '{ print d, i, c":", $0; fflush(); }' c="$calling_script_name" d="$date_format" i="$display_info" >>"$GHE_VERBOSE_LOG")
200+
exec 3> >(awk '{ print d, i, c":", $0; fflush(); }' -v c="$calling_script_name" d="$date_format" i="$display_info" >>"$GHE_VERBOSE_LOG")
201201
fi
202202
fi
203203
else

0 commit comments

Comments
 (0)