Scripted not starting in zsh

39 views
Skip to first unread message

Augustin Trancart

unread,
Jan 9, 2013, 8:22:25 AM1/9/13
to script...@googlegroups.com
Hi,

I wanted to try scripted but I keep getting this error (I install through npm, and I use zsh)
/usr/local/bin/scr: 11: [: deezer.user.js: unexpected operator
/usr/local/bin/scr: 11: [: deezer.user.js: unexpected operator
/usr/local/bin/scr: 51: [: .: unexpected operator
/usr/local/bin/scr: 57: [: .: unexpected operator
/usr/local/bin/scr: 93: [: deezer.user.js: unexpected operator
/usr/local/bin/scr: 93: [: deezer.user.js: unexpected operator
/usr/local/bin/scr: 104: [: true: unexpected operator
/usr/local/bin/scr: 123: [: deezer.user.js: unexpected operator
/usr/local/bin/scr: 123: [: deezer.user.js: unexpected operator
/usr/local/bin/scr: 136: [: deezer.user.js: unexpected operator
/usr/local/bin/scr: 141: [: d: unexpected operator
/usr/local/bin/scr: 150: [: true: unexpected operator

Any ideas ? Am I the only one getting this ?

Thanks !



Andrew Clement

unread,
Jan 9, 2013, 11:48:35 AM1/9/13
to script...@googlegroups.com
Hi,

The background to the story is a little messy but basically I had to remove the shell selection line from the 'scr' script in order for npm on windows to behave with launching scripted (this is a temporary measure until we implement our proposed proper solution). To fix your situation you can insert '#!/bin/bash' as the first line of the 'scr' script. Then it will use bash to run that script.

If that doesn't work, let me know!

cheers,
Andy
Reply all
Reply to author
Forward
0 new messages