From bdc4366a46c60142cb5df2f350c480af4ae8d171 Mon Sep 17 00:00:00 2001 From: Quentin Schulz Date: Wed, 6 Mar 2024 11:17:54 +0100 Subject: build.sh: unset x when printing usage We don't need to see how the usage string is created, we just need it printed on the console. Signed-off-by: Quentin Schulz --- build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.sh b/build.sh index b86f7c2..8be083a 100755 --- a/build.sh +++ b/build.sh @@ -21,6 +21,7 @@ # or run "sudo chmod 666 /dev/kvm". print_usage() { + set +x cat << EOF Usage: build_board=BOARD [OPTION]... ./build.sh @@ -57,6 +58,7 @@ DEBOSHOST may be: podman run debos using podman container and build within kvm chroot run debos directly on the host and build in a chroot on the host (uses sudo) EOF + set -x } set -eux -- cgit v1.2.3