Hey,
It's a little late .. but perhaps this will help someone in the future:
I had the same problem .. it's because we use the dash shell..
You can alter the script:
First do a : ls -l /usr/local/bin/cube and copy the symlink text .. the part after -> and do the following:
Change
Code:
if [ -L "$path" ]; then
ll="$(LC_ALL=C ls -l "$path" 2> /dev/null)" &&
echo "${ll/* -> }"
to:
Code:
if [ -L "$path" ]; then
echo "/your/game/path/here/cube"
the readlink() routine is used to determine where the "real" cube script / directory is.
Bookmarks