aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/mrconfig4
1 files changed, 2 insertions, 2 deletions
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