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:
parent
bfccbd65f2
commit
7f65284f60
2
build.py
2
build.py
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user