1
1
mirror of https://github.com/ariya/phantomjs.git synced 2024-09-11 12:55:33 +03:00

Revert "Honor branch specified in .gitmodules"

This reverts commit cde33dc6fb.
This commit is contained in:
Ariya Hidayat 2018-03-06 13:11:16 -08:00
parent bfccbd65f2
commit 7f65284f60

View File

@ -348,7 +348,7 @@ class PhantomJSBuilder(object):
if self.options.skip_git: return
if self.execute(["git", "submodule", "init"], ".") != 0:
raise RuntimeError("Initialization of git submodules failed.")
if self.execute(["git", "submodule", "update", "--remote"], ".") != 0:
if self.execute(["git", "submodule", "update", "--init"], ".") != 0:
raise RuntimeError("Initial update of git submodules failed.")
# run all build steps required to get a final PhantomJS binary at the end