aboutsummaryrefslogtreecommitdiff
path: root/bin/mrconfig
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-10-01 13:02:31 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-10-01 13:02:31 -0300
commit2979f23a78bb7ce96599904547502c2c922b45d4 (patch)
tree17c350a4ce73a064218969defd2ef8bdf87249d3 /bin/mrconfig
parent6f775490cd0562b36c8fd4b40f0c0f3f35943005 (diff)
downloadpuppet-bootstrap-2979f23a78bb7ce96599904547502c2c922b45d4.tar.gz
puppet-bootstrap-2979f23a78bb7ce96599904547502c2c922b45d4.tar.bz2
Updating mrconfig
Diffstat (limited to 'bin/mrconfig')
-rwxr-xr-xbin/mrconfig6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/mrconfig b/bin/mrconfig
index bb4ae7c..f525db3 100755
--- a/bin/mrconfig
+++ b/bin/mrconfig
@@ -15,13 +15,13 @@ 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 --recursive git://$GIT/$module $folder"
+ mr config puppet/modules/$folder checkout="git clone git://$GIT/$module $folder"
fi
done