projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9f4b7dd
)
Stop the build if we can't download the supporters' list.
author
Carl Hetherington
<cth@carlh.net>
Sat, 14 Jul 2018 21:18:37 +0000
(22:18 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 14 Jul 2018 21:18:37 +0000
(22:18 +0100)
wscript
patch
|
blob
|
history
diff --git
a/wscript
b/wscript
index 824cfa9dc4a3bc7b8f800c137db5bee581caf7fe..042084c9714b71bdfc222e236e4da811272961fa 100644
(file)
--- a/
wscript
+++ b/
wscript
@@
-608,7
+608,9
@@
def configure(conf):
def download_supporters():
last_date = subprocess.Popen(shlex.split('git log -1 --format=%%ai %s' % last_version), stdout=subprocess.PIPE).communicate()[0]
def download_supporters():
last_date = subprocess.Popen(shlex.split('git log -1 --format=%%ai %s' % last_version), stdout=subprocess.PIPE).communicate()[0]
- os.system('curl https://dcpomatic.com/supporters.cc?%s > src/wx/supporters.cc' % urlencode({"until": last_date.strip()}))
+ r = os.system('curl -f https://dcpomatic.com/supporters.cc?%s > src/wx/supporters.cc' % urlencode({"until": last_date.strip()}))
+ if (r >> 8) != 0:
+ raise Exception("Could not download supporters list")
def build(bld):
create_version_cc(VERSION, bld.env.CXXFLAGS)
def build(bld):
create_version_cc(VERSION, bld.env.CXXFLAGS)