From 1f79cb3c844a4e03ad0bf2f8f18518d437caaa27 Mon Sep 17 00:00:00 2001 From: Soispha Date: Sun, 28 May 2023 22:09:21 +0200 Subject: Fix(bootstrap): Quote scripts --- bootstrap/setup/setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bootstrap/setup/setup.sh') diff --git a/bootstrap/setup/setup.sh b/bootstrap/setup/setup.sh index 803123e3..bc171303 100755 --- a/bootstrap/setup/setup.sh +++ b/bootstrap/setup/setup.sh @@ -6,7 +6,7 @@ msg "Select a host-config:" hosts=$(mktmp); host=""; -curl https://codeberg.org/soispha/nixos-config/raw/branch/prime/flake/nixosConfigurations/default.nix 2> /dev/null | awk -F '"' '/hosts = /{for (i=2;i $hosts; +curl https://codeberg.org/soispha/nixos-config/raw/branch/prime/flake/nixosConfigurations/default.nix 2> /dev/null | awk -F '"' '/hosts = /{for (i=2;i "$hosts"; while ! grep "$host" "$hosts" > /dev/null || [ "$(printf "%s" "$host" | wc -c)" -eq 0 ]; do i=1; -- cgit 1.4.1