MythRokuPlayer icon indicating copy to clipboard operation
MythRokuPlayer copied to clipboard

installer crashes with => /bin/sh: 1: [: 401: unexpected operator

Open bruceleerabbit opened this issue 4 years ago • 0 comments

I simply executed:

git clone https://github.com/ear9mrn/MythRokuPlayer.git
ROKU_DEV_TARGET=192.168.2.4 ROKU_DEV_PASSWORD=rokudevpw make install

The output looked good up until these final lines:

...
Installing MythRokuPlayer to host 192.168.2.4 
    /bin/sh: 1: [:  401: unexpected operator

I could not see what was wrong with app.mk, but as a workaround I was able to manually run the following (which is what app.mk apparently indended to do):

curl --user 'rokudev:rokudevpw' --digest -s -S\
   -F "mysubmit=Install"\
   -F "archive=@zips/MythRokuPlayer.zip"\
   -F "passwd=" http://192.168.2.4/plugin_install\
   | grep "<font color" | sed "s/<font color=\"red\">//" | sed "s[</font>[["

bruceleerabbit avatar Aug 31 '20 16:08 bruceleerabbit