diff --git a/brightray/script/bootstrap b/brightray/script/bootstrap index 23b33ca62d..b0754f7a1e 100755 --- a/brightray/script/bootstrap +++ b/brightray/script/bootstrap @@ -31,7 +31,6 @@ def parse_args(): def update_submodules(): - return return (subprocess.call(['git', 'submodule', 'sync', '--quiet']) or subprocess.call(['git', 'submodule', 'update', '--init', '--recursive'])) @@ -42,9 +41,10 @@ def download_libchromiumcontent(is_dev, commit, url): download = os.path.join(VENDOR_DIR, 'libchromiumcontent', 'script', 'download') target = os.path.join(DOWNLOAD_DIR, 'libchromiumcontent') - subprocess.check_call([sys.executable, download, '-f', '-c', commit, url, - target]) - if not is_dev: + if is_dev: + subprocess.check_call([sys.executable, download, '-f', '-c', commit, url, + target]) + else: subprocess.check_call([sys.executable, download, '-s', '-f', '-c', commit, url, target]) diff --git a/brightray/vendor/libchromiumcontent b/brightray/vendor/libchromiumcontent index 97917e7904..d4f20e2775 160000 --- a/brightray/vendor/libchromiumcontent +++ b/brightray/vendor/libchromiumcontent @@ -1 +1 @@ -Subproject commit 97917e790421e8617ce685a1e32cf98a64052f7a +Subproject commit d4f20e2775350ec53506aba4244115dc5ca6d7b8