Fix another typo in my modified script but still no go

keys not set up for direct test/live talk here
This commit is contained in:
benjamin melançon 2022-03-06 22:06:28 -05:00
parent 8ba651139e
commit 0ee0fbf151

View file

@ -81,7 +81,7 @@ if [ "$target" = "local" ]; then
fi
elif [ "$target" = "test" ]; then
remote_drush="/home/agaric_test/vendor/bin/drush -r /home/agaric_test/site/web $verbose"
remote_drush="/home/agaric_test/site/vendor/bin/drush -r /home/agaric_test/site/web $verbose"
ssh agaric_test@elizabeth.mayfirst.org "${remote_drush} status > /dev/null" || (echo "SSH connection to ${target} or drush status failed - have you set up the key, and does site exist?"; exit 1)
ssh_cmd="scp ~/backups/${live_backup} agaric_test@localhost:~/backups"
ssh agaric_live@elizabeth.mayfirst.org ${ssh_cmd}