ear9mrn / MythRokuPlayer

mythtv front end for Roku player
tbd
Other
26 stars 23 forks source link

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

Open bruceleerabbit opened 4 years ago

bruceleerabbit commented 4 years ago

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>[["