From 587f206824274d7d1cfcb1072ea8f818493bd317 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 1 Oct 2014 13:05:34 -0300 Subject: Squashed 'puppet/' changes from bb2eae6..2979f23 2979f23 Updating mrconfig 6f77549 Updating Vagrantfile 6848013 Use git clone --recursive for puppet modules git-subtree-dir: puppet git-subtree-split: 2979f23a78bb7ce96599904547502c2c922b45d4 --- bin/mrconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/mrconfig') diff --git a/bin/mrconfig b/bin/mrconfig index ffb0438..f525db3 100755 --- a/bin/mrconfig +++ b/bin/mrconfig @@ -15,11 +15,11 @@ rm -f .mrconfig touch .mrconfig # Fetch repository list and updtate mrconfig -curl --stderr - $URL | grep "^puppet-" | while read module; do +curl --stderr - $URL | grep "^puppet-" | cut -d ' ' -f 1 | while read module; do folder="`echo $module | sed -e 's/^puppet-//'`" folder="`basename $folder .git`" - if [ "$module" != "$bootstrap" ]; + if [ "$module" != "$bootstrap" ]; then echo "Processing $folder..." mr config puppet/modules/$folder checkout="git clone git://$GIT/$module $folder" fi -- cgit v1.2.3