diff --git a/bash/src/base.init.sh b/bash/src/base.init.sh index 2104e56..bd2c1cb 100644 --- a/bash/src/base.init.sh +++ b/bash/src/base.init.sh @@ -22,9 +22,9 @@ if [ -z "$NULIB_NO_INIT_ENV" ]; then [ -n "$NULIBDIR" ] || NULIBDIR="$MYDIR" # Si le script courant est un lien, calculer le répertoire destination - if [ -n "$MYTRUESELF" -a -n "$MYSELF" ]; then - MYTRUESELF="$(readlink -f "$MYSELF")" - MYTRUEDIR="$(dirname -- "$MYTRUESELF")" + if [ -n "$MYREALSELF" -a -n "$MYSELF" ]; then + MYREALSELF="$(readlink -f "$MYSELF")" + MYREALDIR="$(dirname -- "$MYREALSELF")" fi # Repertoire temporaire