1
0

Quote deploy command correctly

This commit is contained in:
clerie 2022-09-14 19:46:15 +02:00
parent abd589aa73
commit fb1c2cd1e8

View File

@ -10,7 +10,7 @@ fi
cmd=" \ cmd=" \
nixos-rebuild switch \ nixos-rebuild switch \
-I nixos-config=hosts/${DEPLOY_HOST}/configuration.nix --show-trace\ -I "nixos-config=hosts/${DEPLOY_HOST}/configuration.nix" --show-trace\
" "
if [ -z $DEPLOY_ADDRESS ] || [ $DEPLOY_ADDRESS = "-" ]; then if [ -z $DEPLOY_ADDRESS ] || [ $DEPLOY_ADDRESS = "-" ]; then