hack/deploy: resolve the switch-prebuilt path before passing it to sudo
This commit is contained in:
parent
6d7ef7de57
commit
0500d97b67
1 changed files with 1 additions and 1 deletions
|
@ -15,4 +15,4 @@ if [ ! -z ${2+x} ]; then ssh_cmd="$ssh_cmd $2"; fi
|
||||||
system="$(jq -r ".[\"${1}\"]" systems.json)"
|
system="$(jq -r ".[\"${1}\"]" systems.json)"
|
||||||
echo System is $system
|
echo System is $system
|
||||||
|
|
||||||
$ssh_cmd -t "deployer@$1" switch-prebuilt "$system"
|
$ssh_cmd -t "deployer@$1" '$(readlink -f $(which switch-prebuilt))' "$system"
|
||||||
|
|
Loading…
Reference in a new issue