From e322e039f3218f250be1f6cfe410204990a3db11 Mon Sep 17 00:00:00 2001 From: Victor Engmark Date: Thu, 9 Mar 2023 10:23:20 +1300 Subject: [PATCH] fix: Quote variable reference As recommended by ShellCheck. --- install-nix.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-nix.sh b/install-nix.sh index 03447c3..d6a09c9 100755 --- a/install-nix.sh +++ b/install-nix.sh @@ -54,7 +54,7 @@ else add_config "build-users-group =" sudo mkdir -p /etc/nix sudo chmod 0755 /etc/nix - sudo cp $workdir/nix.conf /etc/nix/nix.conf + sudo cp "$workdir/nix.conf" /etc/nix/nix.conf fi if [[ $INPUT_INSTALL_OPTIONS != "" ]]; then