diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-08-10 15:13:39 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-08-10 15:13:39 -0300 |
commit | df5df0b1c3dd27e958968ddf4178a90831487f4f (patch) | |
tree | b8482d637743c0107edb8806f14afc060450486d /bin | |
parent | e0b4ebe1f2132a7281be47295fb600e50be41db0 (diff) | |
download | puppet-bootstrap-df5df0b1c3dd27e958968ddf4178a90831487f4f.tar.gz puppet-bootstrap-df5df0b1c3dd27e958968ddf4178a90831487f4f.tar.bz2 |
Submodules: force
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/submodules | 2 |
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 ) |