summaryrefslogtreecommitdiff
path: root/puppet/bin
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/bin')
-rwxr-xr-xpuppet/bin/mrconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/puppet/bin/mrconfig b/puppet/bin/mrconfig
index ffb0438..f525db3 100755
--- a/puppet/bin/mrconfig
+++ b/puppet/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