--- ./bin/bsf.orig 2009-12-23 15:53:05.000000000 +0100 +++ ./bin/bsf 2010-02-02 19:30:16.000000000 +0100 @@ -17,20 +17,14 @@ # 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. # ============================================================================== -set_prefix() { - local this=`readlink -n -f $1` - local bin=`dirname $this` - prefix=`dirname $bin` -} - -set_prefix $0 +prefix=%%inst_dir%%/ASTK_CLIENT # set environment if [ -f /etc/codeaster/profile.sh ]; then . /etc/codeaster/profile.sh fi -if [ -f $prefix/etc/codeaster/profile.sh ]; then - . $prefix/etc/codeaster/profile.sh +if [ -f ?ASTER_ROOT?/etc/codeaster/profile.sh ]; then + . ?ASTER_ROOT?/etc/codeaster/profile.sh fi # start tcl/tk interpreter