From b29ddba02466946c03374a2e24823c0542170e8c Mon Sep 17 00:00:00 2001 From: poka Date: Thu, 19 Mar 2020 18:44:01 +0100 Subject: [PATCH] Fix bootstrap --- bootstrap_astroport.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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