Details
-
Bug
-
Resolution: Fixed
-
Low
-
2.0.4
-
None
-
None
Description
FishEye (2.0.4+) won't start on Solaris, because of a problem in the bin/fisheyectl.sh script:
/apps/fisheye/fecru-2.0.5/bin/fisheyectl.sh: syntax error at line 49: `FISHEYE_OPTS=$' unexpected
The line in question:
FISHEYE_OPTS=$($JAVACMD -cp $FISHEYE_HOME/fisheyeboot.jar com.cenqua.fisheye.boot.OptsSetter)
The problem is that Solaris /bin/sh doesn't understand the $() syntax. I temporarily fixed the problem by changing the
#!/bin/sh
line to
#!/bin/ksh
, since ksh does support this syntax.
An alternative fix would be to change $() into ``.
i.e.
FISHEYE_OPTS=`$JAVACMD -cp $FISHEYE_HOME/fisheyeboot.jar com.cenqua.fisheye.boot.OptsSetter`