summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Schulz <quentin.schulz@theobroma-systems.com>2024-03-06 11:17:54 +0100
committerQuentin Schulz <quentin.schulz@theobroma-systems.com>2024-03-06 11:18:44 +0100
commitbdc4366a46c60142cb5df2f350c480af4ae8d171 (patch)
tree9dd712b9fcc140cc97e99c19b5eacdb2de4246f4
parentecf4624e0d6fd875f12dede7a206f81ca6b18483 (diff)
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 <quentin.schulz@theobroma-systems.com>
-rwxr-xr-xbuild.sh2
1 files changed, 2 insertions, 0 deletions
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