Don't call download twice
This commit is contained in:
parent
d1fb13b260
commit
feeb1da5ca
2 changed files with 5 additions and 5 deletions
|
@ -31,7 +31,6 @@ def parse_args():
|
||||||
|
|
||||||
|
|
||||||
def update_submodules():
|
def update_submodules():
|
||||||
return
|
|
||||||
return (subprocess.call(['git', 'submodule', 'sync', '--quiet']) or
|
return (subprocess.call(['git', 'submodule', 'sync', '--quiet']) or
|
||||||
subprocess.call(['git', 'submodule', 'update', '--init',
|
subprocess.call(['git', 'submodule', 'update', '--init',
|
||||||
'--recursive']))
|
'--recursive']))
|
||||||
|
@ -42,9 +41,10 @@ def download_libchromiumcontent(is_dev, commit, url):
|
||||||
download = os.path.join(VENDOR_DIR, 'libchromiumcontent', 'script',
|
download = os.path.join(VENDOR_DIR, 'libchromiumcontent', 'script',
|
||||||
'download')
|
'download')
|
||||||
target = os.path.join(DOWNLOAD_DIR, 'libchromiumcontent')
|
target = os.path.join(DOWNLOAD_DIR, 'libchromiumcontent')
|
||||||
subprocess.check_call([sys.executable, download, '-f', '-c', commit, url,
|
if is_dev:
|
||||||
target])
|
subprocess.check_call([sys.executable, download, '-f', '-c', commit, url,
|
||||||
if not is_dev:
|
target])
|
||||||
|
else:
|
||||||
subprocess.check_call([sys.executable, download, '-s', '-f', '-c', commit,
|
subprocess.check_call([sys.executable, download, '-s', '-f', '-c', commit,
|
||||||
url, target])
|
url, target])
|
||||||
|
|
||||||
|
|
2
brightray/vendor/libchromiumcontent
vendored
2
brightray/vendor/libchromiumcontent
vendored
|
@ -1 +1 @@
|
||||||
Subproject commit 97917e790421e8617ce685a1e32cf98a64052f7a
|
Subproject commit d4f20e2775350ec53506aba4244115dc5ca6d7b8
|
Loading…
Reference in a new issue