Skip to content

Commit

Permalink
Improve log output
Browse files Browse the repository at this point in the history
Drop empty line before ici_label.
  • Loading branch information
rhaschke committed Feb 15, 2025
1 parent 2baf5e9 commit 18b183e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions reprepro/import.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ function import {

# Remove remaining files
rm -rf "${INCOMING_DIR:?}"/*
ici_log
}

# Download debs artifact(s)
Expand Down
1 change: 1 addition & 0 deletions src/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ function build_pkg {
fi
if [ -n "$opts" ]; then opts="$EXTRA_SBUILD_OPTS $opts"; fi

ici_log
SBUILD_OPTS="--verbose --chroot=sbuild --no-clean-source --no-run-lintian --dist=$DEB_DISTRO $opts"
ici_label "${SBUILD_QUIET[@]}" ici_asroot -E -H -u "$USER" bash -lc "sbuild $SBUILD_OPTS" || return 4

Expand Down
1 change: 0 additions & 1 deletion src/util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,6 @@ function ici_guard {

function ici_label {
local cmd; cmd=$(ici_get_log_cmd "$@")
ici_log
ici_color_output BOLD "$ $cmd"
"$@"
}
Expand Down

0 comments on commit 18b183e

Please sign in to comment.