Commit 2620d1e5 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

make build script fail if nwjs binary isn't downloaded

parent b2c87b8c
......@@ -143,6 +143,13 @@ if [ ! -d "../pd/nw/nw" ]; then
echo "Fetching the nwjs binary from"
echo "$nwjs_url"
wget -nv $nwjs_url
if wget -nv $nwjs_url; then
echo "Could not download the nwjs binary"
exit 1
echo "Downloaded nwjs binary"
exit 1
if [[ $os == "win" || $os == "osx" ]]; then
unzip $nwjs_filename
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment