Skip to content
Snippets Groups Projects
Commit 81a53d8e authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

try a different failure path

parent 32302af9
No related branches found
No related tags found
1 merge request!203bail out if we can't download the nw.js binary
Pipeline #
...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment