Hex troubleshooting
Resolve issues with your Hex installation
Issue 1: Syntax error: Bad substitution
Ubuntu does not use the default unix sh (see http://ubuntuforums.org/archive/index.php/t-499045.html) which leads to incompatibilities with standard sh scripts. This means that you get the following error when calling hex:
/usr/local/lib/hex/bin/run_hex: 76: Syntax error: Bad substitution
Solution:
Change the first line of .../hex/bin/run_hex from:
#!/bin/sh
to:
#!/bin/bash