Commit 81a53d8e authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

try a different failure path

parent 32302af9
...@@ -142,13 +142,7 @@ if [ ! -d "../pd/nw/nw" ]; then ...@@ -142,13 +142,7 @@ if [ ! -d "../pd/nw/nw" ]; then
nwjs_url=${nwjs_url}/$nwjs_filename nwjs_url=${nwjs_url}/$nwjs_filename
echo "Fetching the nwjs binary from" echo "Fetching the nwjs binary from"
echo "$nwjs_url" echo "$nwjs_url"
wget -nv $nwjs_url wget -nv $nwjs_url || exit 1
if wget -nv $nwjs_url; then
echo "Could not download the nwjs binary"
exit 1
else
echo "Downloaded nwjs binary"
fi
if [[ $os == "win" || $os == "osx" ]]; then if [[ $os == "win" || $os == "osx" ]]; then
unzip $nwjs_filename unzip $nwjs_filename
else else
......
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