fixed the way the submodule is updated

This commit is contained in:
Spencer Alger
2013-12-12 20:31:30 -07:00
parent 5068914294
commit afaab8a3fd

View File

@ -35,7 +35,8 @@ if (!argv.force && process.env.FORCE || process.env.FORCE_GEN) {
}
function updateSubmodules(done) {
cp.exec('git submodule update --init --recursive', function (err, stdout, stderr) {
cp.exec('git submodule update --init && git submodule foreach git pull origin master',
function (err, stdout, stderr) {
stdout = stdout.trim();
stderr = stderr.trim();