summaryrefslogtreecommitdiffstats
path: root/scripts/build.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xscripts/build.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/build.sh b/scripts/build.sh
index 9cc4e46b..2bbb00f1 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