aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-08-10 15:13:39 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-08-10 15:13:39 -0300
commitdf5df0b1c3dd27e958968ddf4178a90831487f4f (patch)
treeb8482d637743c0107edb8806f14afc060450486d /bin
parente0b4ebe1f2132a7281be47295fb600e50be41db0 (diff)
downloadpuppet-bootstrap-df5df0b1c3dd27e958968ddf4178a90831487f4f.tar.gz
puppet-bootstrap-df5df0b1c3dd27e958968ddf4178a90831487f4f.tar.bz2
Submodules: force
Diffstat (limited to 'bin')
-rwxr-xr-xbin/submodules2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/submodules b/bin/submodules
index f79b635..3abc46d 100755
--- a/bin/submodules
+++ b/bin/submodules
@@ -20,7 +20,7 @@ for repo in $repos; do
module="`basename $repo .git | sed -e s/^puppet-//`"
if [ ! -d "modules/$module" ]; then
echo "Processing puppet module $module..."
- git submodule add $repo modules/$module
+ git submodule add -f $repo modules/$module
elif [ -e "modules/$module/.git" ]; then
# The puppet module exists and is a git submodule, so update it
( cd module/$module && git pull origin master )