aboutsummaryrefslogtreecommitdiff
path: root/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
commit587f206824274d7d1cfcb1072ea8f818493bd317 (patch)
tree17c350a4ce73a064218969defd2ef8bdf87249d3 /bin
parent529cd5077e3d76c1d5b612bc146ab174d7143c30 (diff)
downloaddebian-587f206824274d7d1cfcb1072ea8f818493bd317.tar.gz
debian-587f206824274d7d1cfcb1072ea8f818493bd317.tar.bz2
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
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