diff --git a/bootstrap_astroport.sh b/bootstrap_astroport.sh index 45cc422..cd70c0d 100755 --- a/bootstrap_astroport.sh +++ b/bootstrap_astroport.sh @@ -10,7 +10,7 @@ giturl="http://192.168.9.19:3000" git clone $giturl/axiom-team/astroport.git cd astroport -sed -i 's/https:\/\/git.p2p.legal/http:\/\/192.168.9.19:3000/g' .gitmodules +[[ $giturl =~ "192" ]] && sed -i "s/https:\/\/git.p2p.legal/$giturl/g" .gitmodules git submodule update --init --recursive git submodule foreach git pull origin master