Currently this doesn't work very well (well, not at all) if the script is
symlinked in from anywhere (eg, /usr/local/bin). The following change needs
to be made so this will work (this also applies to the osx shell script)

replace IDEA_HOME=`dirname "$0"`/..
with:

  PRG=$0
  
  while [ -h "$PRG" ] ; do
    ls=`ls -ld "$PRG"`
    link=`expr "$ls" : '.*-> \(.*\)$'`
    if expr "$link" : '.*/.*' > /dev/null; then
        PRG="$link"
    else
        PRG="`dirname $PRG`/$link"
    fi
  done
  
  IDEA_HOME=`dirname "$PRG"`/..

(note, this is shamelessly copied from the ant script, which also has some
useful osx jikes stuff...)



_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to