From e867618cc7eb18e994569dda445be397140d7257 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 27 Jun 2016 11:19:28 -0300 Subject: Fetch submodules using https --- bin/mrconfig | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bin/mrconfig b/bin/mrconfig index a7bd72a..48815c1 100755 --- a/bin/mrconfig +++ b/bin/mrconfig @@ -15,13 +15,12 @@ rm -f .mrconfig touch .mrconfig # Fetch repository list and updtate mrconfig -curl --stderr - $URL | grep "^puppet-" | cut -d ' ' -f 1 | while read module; do +curl --stderr - $URL | grep "^puppet-" | cut -d ' ' -f 1 | sed -e 's/\.git$//' | while read module; do folder="`echo $module | sed -e 's/^puppet-//'`" - folder="`basename $folder .git`" if [ "$folder" != "bootstrap" ]; then echo "Processing $folder..." - mr config puppet/modules/$folder checkout="git clone git://$GIT/$module $folder" + mr config puppet/modules/$folder checkout="git clone https://$GIT/$module $folder" fi done -- cgit v1.2.3