From c64eb7e5835fa2609672101b98eb8cd6cae9c54b Mon Sep 17 00:00:00 2001 From: Josh Sherman Date: Fri, 5 Dec 2014 11:17:41 -0500 Subject: [PATCH] Hired an ol' salty dog to run the ship --- ship | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ship b/ship index 30b96b1..e19dd71 100755 --- a/ship +++ b/ship @@ -5,7 +5,7 @@ case $# in # TODO go up the hierarchy to find .ship source .ship - ssh $SERVER " + ssh captain@$SERVER " cd $DESTINATION git pull origin master " @@ -18,14 +18,13 @@ case $# in DESTINATION=$3 CLONEURL=`git config --get remote.origin.url` - ssh $SERVER " + ssh captain@$SERVER " if [ -a $DESTINATION ] then echo "Error: Destination exists" exit 1 else git clone $CLONEURL $DESTINATION - chgrp ship -R $DESTINATION fi "