From fc4e9a38db1408664c80b19cad954e368f7dcbff Mon Sep 17 00:00:00 2001 From: Soispha Peetz Date: Mon, 2 Nov 2026 14:08:52 +0100 Subject: scripts/build.sh: Set hosts, if they are unset --- scripts/build.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scripts') diff --git a/scripts/build.sh b/scripts/build.sh index 9cc4e46..2bbb00f 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -60,6 +60,11 @@ while [ "$#" -ne 0 ]; do shift 1 done +if [ "$#" -eq 0 ]; then + # shellcheck disable=SC2046 + set -- $(ls "$root/hosts/by-name") +fi + if [ "$use_dirty" = "false" ]; then tmp="$(mktemp -d -t "server_build_script_XXXXX")" trap 'rm -r "$tmp"' EXIT -- cgit v1.3.1