From 81a53d8e03dc9916027a4975c19bec8b7dfa3320 Mon Sep 17 00:00:00 2001
From: Jonathan Wilkes <jon.w.wilkes@gmail.com>
Date: Thu, 6 Jul 2017 07:36:37 -0400
Subject: [PATCH] try a different failure path

---
 l2ork_addons/tar_em_up.sh | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/l2ork_addons/tar_em_up.sh b/l2ork_addons/tar_em_up.sh
index 47c2dd5ed..87033e482 100755
--- a/l2ork_addons/tar_em_up.sh
+++ b/l2ork_addons/tar_em_up.sh
@@ -142,13 +142,7 @@ if [ ! -d "../pd/nw/nw" ]; then
 	nwjs_url=${nwjs_url}/$nwjs_filename
 	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
-	else
-		echo "Downloaded nwjs binary"
-	fi
+        wget -nv $nwjs_url || exit 1
 	if [[ $os == "win" || $os == "osx" ]]; then
 		unzip $nwjs_filename
 	else
-- 
GitLab