diff --git a/scripts/hnu b/scripts/hnu index 8591468..9cc1de0 100755 --- a/scripts/hnu +++ b/scripts/hnu @@ -36,7 +36,7 @@ fi # tree, so we try to find photon.php if [ ! -f $PHOTON ]; then HNU=`readlink -f $0 2>/dev/null` - if [[ $? == 0 ]]; then + if test "$?" = "0"; then HNUDIR=`dirname $HNU` PHOTON="$HNUDIR/../src/photon.php" else