From aa0e0a39951e279f75e4e3775856f0ba5e646ade Mon Sep 17 00:00:00 2001 From: Lisa Marie Maginnis Date: Wed, 8 Jul 2015 16:44:29 -0400 Subject: [PATCH] added tty to ssh command --- trustcommerce.git/post-update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trustcommerce.git/post-update b/trustcommerce.git/post-update index c08b3b0..d0e9823 100755 --- a/trustcommerce.git/post-update +++ b/trustcommerce.git/post-update @@ -70,7 +70,7 @@ echo -n $(date "$date_fmt"); echo " - Pushing files to target host" rsync -arzSPX --exclude=.git/ --delete $local_checkout/* $remote_user@$target_host:$target_path/ #2>/dev/null echo -n $(date "$date_fmt"); echo " - Updating target path permissions" -ssh $remote_user@$target_host sudo $deploy_script +ssh $remote_user@$target_host -t sudo $deploy_script echo -n $(date "$date_fmt"); echo " - Packing for export to package host" rm -f $local_checkout_base/*tar.gz -- 2.25.1