From f429194a1a1208bd5fb5e6bf286877cd28e4df77 Mon Sep 17 00:00:00 2001 From: drebs Date: Wed, 16 Mar 2011 21:56:21 -0300 Subject: correcting paths --- templates/bin/puppet-bootstrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/bin/puppet-bootstrap b/templates/bin/puppet-bootstrap index 70b5da8..57f5f28 100644 --- a/templates/bin/puppet-bootstrap +++ b/templates/bin/puppet-bootstrap @@ -13,7 +13,7 @@ function add_submodules { repos="`lynx -dump http://git.sarava.org/?a=project_index | awk '{ print $1 }' | grep ^puppet-`" for repo in $repos; do - module="`basename $repo .git | cut -d - -f 2`" + module="`basename $repo .git | sed -e s/puppet-//`" if [ ! -d "modules/$module" ]; then git submodule add git://git.sarava.org/puppet-$module.git modules/$module fi -- cgit v1.2.3