From b1a9be254b4a8d1a4e95ad2953b728acfdbd5e7d Mon Sep 17 00:00:00 2001 From: william mantly Date: Fri, 30 Sep 2016 19:43:18 -0400 Subject: [PATCH] asd --- create.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/create.sh b/create.sh index b480f01..a4c9cfd 100644 --- a/create.sh +++ b/create.sh @@ -5,13 +5,13 @@ sshURL="$2" nodePort=`./random_port.py` -eval "$(ssh-agent -s)" -ssh-add /root/.ssh/id_github_rsa mkdir /var/www/gitwrapper/$name chmod 777 /var/www/gitwrapper/$name cd /var/www/gitwrapper/$name +eval "$(ssh-agent -s)" +ssh-add /root/.ssh/id_github_rsa echo `pwd` echo '=============' @@ -26,7 +26,7 @@ echo "==================" # change https urls to ssh -perl -pi -e 's/https:\/\/github.com\//ssh:\/\/git\@github.com:/g' .gitmodules +perl -pi -e 's/https:\/\/github.com\//git\@github.com:/g' .gitmodules git submodule sync echo "==================" ./scripts/setup.sh @@ -43,7 +43,7 @@ echo "BRANCH = '$name'" >> project/settings/local_settings.py git checkout $name # change https urls to ssh -perl -pi -e 's/https:\/\/github.com\//ssh:\/\/git\@github.com:/g' .gitmodules +perl -pi -e 's/https:\/\/github.com\//git\@github.com:/g' .gitmodules git submodule sync ./scripts/setup.sh git stash