added tty to ssh command
authorLisa Marie Maginnis <lisam@fsf.org>
Wed, 8 Jul 2015 20:44:29 +0000 (16:44 -0400)
committerLisa Marie Maginnis <lisam@fsf.org>
Wed, 8 Jul 2015 20:44:29 +0000 (16:44 -0400)
trustcommerce.git/post-update

index c08b3b0cca3f6b4cfd59bd4ad2b7de854796b871..d0e9823cb9333dd1d6fd0ebc80589cbfc2937430 100755 (executable)
@@ -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