From 42cca50460c544f02637198748604f3fe8f0b7c7 Mon Sep 17 00:00:00 2001 From: ene Date: Sun, 19 Feb 2023 19:14:57 +0100 Subject: Fix(bootstrap): Fix a copy and paste oversight --- bootstrap/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bootstrap') diff --git a/bootstrap/install b/bootstrap/install index a5d3aeb2..7ec982bc 100755 --- a/bootstrap/install +++ b/bootstrap/install @@ -112,9 +112,9 @@ case $result in [ $host = "q" ] && exit 1 if awk -v host $host '{$0 ~ host}' "$hosts" && [ "$host" != "" ]; then - host=$(awk -v i $host 'NR==i' "$hosts"); + host=$(awk -v i="$host" '{if (NR==i) {print $0}}' "$hosts"); else - warning "No disk selected. Select a disk to continue.\n" + warning "No host selected. Select a host to continue.\n" fi done nixos-install --flake git+https://git.sils.li/ene/nixos-config#${host} --no-root-passwd -- cgit 1.4.1