Found how to escape them
This commit is contained in:
parent
201f6eccd9
commit
5319aadfc2
|
@ -19,13 +19,13 @@ writeShellApplication
|
||||||
i=1
|
i=1
|
||||||
for d in */
|
for d in */
|
||||||
do
|
do
|
||||||
dirs[i++]="${d%/}"
|
dirs[i++]="''${d%/}"
|
||||||
done
|
done
|
||||||
select dir in "${dirs[@]}"; do echo "you selected ${dir}"; break; done
|
select dir in "''${dirs[@]}"; do echo "you selected ''${dir}"; break; done
|
||||||
popd
|
popd
|
||||||
pushd ./install
|
pushd ./install
|
||||||
echo "NixOS Installing..."
|
echo "NixOS Installing..."
|
||||||
sudo nixos-install --flake .#${dir}
|
sudo nixos-install --flake .#''${dir}
|
||||||
popd
|
popd
|
||||||
echo "Cleaning up repository in tmp..."
|
echo "Cleaning up repository in tmp..."
|
||||||
rm -rf ./install
|
rm -rf ./install
|
||||||
|
|
Loading…
Reference in a new issue