From e0d610e895b54d1f81e923259557b6f47c0e9244 Mon Sep 17 00:00:00 2001
From: Sojourner Truth <jon.w.wilkes@gmail.com>
Date: Wed, 17 Aug 2016 21:06:56 -0400
Subject: [PATCH] use "==" instead of "-eq" for string comparison in bash

---
 l2ork_addons/tar_em_up.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/l2ork_addons/tar_em_up.sh b/l2ork_addons/tar_em_up.sh
index 73b84c76e..e2ac9d7f2 100755
--- a/l2ork_addons/tar_em_up.sh
+++ b/l2ork_addons/tar_em_up.sh
@@ -61,7 +61,7 @@ if [ ! -d "../pd/nw/nw" ]; then
 	fi
 
 	# for rpi
-	if [ `uname -m` -eq "armv7l" ]; then
+	if [ `uname -m` == "armv7l" ]; then
 		arch="armv7l"
 	fi
 
@@ -73,7 +73,7 @@ if [ ! -d "../pd/nw/nw" ]; then
 	else
 		ext="tar.gz"
 		# temporary kluge for rpi-- only 0.15.1 is available atm
-		if [ `uname -m` -eq "armv7l" ]; then
+		if [ `uname -m` == "armv7l" ]; then
 			nwjs_version="v0.15.1"
 		else
 			nwjs_version="v0.16.1"
-- 
GitLab