1: ./deisctl: Syntax error: "(" unexpected

10 views
Skip to first unread message

Fizar Ahmed

unread,
Jul 3, 2016, 6:47:26 AM7/3/16
to Deis Users List
Hello,

I am trying to install diesctl by using install.sh. It shows an error "./deisctl: 1: ./deisctl: Syntax error: "(" unexpected"

Could you please help me to correct the error?

Regards

Fizar

Kingdon Barrett

unread,
Jul 3, 2016, 10:35:45 PM7/3/16
to Fizar Ahmed, Deis Users List
It sounds like deisctl is a bash script, but you tried running it with sh instead of bash... I'm not sure if you have deisctl or install.sh

Modern deisctl is a compiled go binary

If your system is a 64-bit amd64, you should be able to download a binary with the instructions on http://docs.deis.io/en/latest/installing_deis/install-deisctl/

Compiling for another architecture, probably have to start here:

The install script is probably a bash script though, and the error you got is because sh is not a fully compatible bash implementation.

-- 
Kingdon Barrett <kin...@tuesdaystudios.com>

--
You received this message because you are subscribed to the Google Groups "Deis Users List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to deis-users+...@googlegroups.com.
To post to this group, send email to deis-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/deis-users/b70e4b0d-b7ea-4367-adab-07cbdaf0b27b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages