summaryrefslogtreecommitdiff
path: root/puppet/bin
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-10-01 13:05:34 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-10-01 13:05:34 -0300
commitbe8dd2fdec438fd67e5a5a90654e8388c9ffa4ad (patch)
tree87d4419defe41a48f7a9d32931f57c7203ef25d5 /puppet/bin
parentc62a6b218f06e3ebb42c327067cd4b65e988ebf7 (diff)
parent587f206824274d7d1cfcb1072ea8f818493bd317 (diff)
downloaddebian-be8dd2fdec438fd67e5a5a90654e8388c9ffa4ad.tar.gz
debian-be8dd2fdec438fd67e5a5a90654e8388c9ffa4ad.tar.bz2
Merge commit '587f206824274d7d1cfcb1072ea8f818493bd317'
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