3 # --- retrieve APPLI path, relative to $HOME
4 # on sarge, "which" gives not allways the absolute path...
8 if test x$aa == x\/; then
10 elif test x$aa == x\.; then
11 mycom=${PWD}/${comName:2}
13 mycom=${PWD}/${comName}
15 APPLI=`echo ${HOME} \`dirname $mycom\` | awk ' { print substr($2,length($1)+2) } '`
19 # --- set the SALOME environment (prerequisites, MODULES_ROOT_DIR...)
21 . ${HOME}/${APPLI}/envd ${HOME}/${APPLI}
23 # --- open a Python interpreter with SALOME environment
25 ${KERNEL_ROOT_DIR}/bin/salome/envSalome.py python -i ${KERNEL_ROOT_DIR}/bin/salome/salomeConsole.py $*