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

use "==" instead of "-eq" for string comparison in bash

parent e523762c
No related branches found
No related tags found
No related merge requests found
...@@ -61,7 +61,7 @@ if [ ! -d "../pd/nw/nw" ]; then ...@@ -61,7 +61,7 @@ if [ ! -d "../pd/nw/nw" ]; then
fi fi
# for rpi # for rpi
if [ `uname -m` -eq "armv7l" ]; then if [ `uname -m` == "armv7l" ]; then
arch="armv7l" arch="armv7l"
fi fi
...@@ -73,7 +73,7 @@ if [ ! -d "../pd/nw/nw" ]; then ...@@ -73,7 +73,7 @@ if [ ! -d "../pd/nw/nw" ]; then
else else
ext="tar.gz" ext="tar.gz"
# temporary kluge for rpi-- only 0.15.1 is available atm # 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" nwjs_version="v0.15.1"
else else
nwjs_version="v0.16.1" nwjs_version="v0.16.1"
......
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