/etc/codeaster/profile.sh is in code-aster-run 1.13.1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | # AUTOMATICALLY GENERATED - DO NOT EDIT !
# Put all your changes in profile_local.sh in the same directory
#
# profile.sh : initialize the environment for as_run services
# (sh, ksh, bash syntax)
#
# If variables are depending on Code_Aster version, use ENV_SH in
# the corresponding 'config.txt' file.
#
if [ -z "$DEFINE_PROFILE_ASRUN" ] || [ -z "$LD_LIBRARY_PATH" ]; then
export DEFINE_PROFILE_ASRUN=done
#--- ifndef DEFINE_PROFILE_ASRUN -----------------------------------------------
if [ -z "$ASTER_ROOT" ]; then
export ASTER_ROOT=/usr/lib/codeaster
fi
if [ "$ASTER_ROOT" = "/usr/lib/codeaster" ]; then
ASTER_ETC=/etc
fi
if [ -z "$ASTER_ETC" ]; then
ASTER_ETC=/etc
fi
export ASTER_ETC
if [ -z "$PATH" ]; then
export PATH=$ASTER_ROOT/bin:$ASTER_ROOT/outils
else
export PATH=$ASTER_ROOT/bin:$ASTER_ROOT/outils:$PATH
fi
export PYTHONEXECUTABLE=/usr/bin/python
# this should not be usefull...
#export PYTHONHOME=?HOME_PYTHON?
export WISHEXECUTABLE=/usr/bin/wish
# source local profile
if [ -e $ASTER_ETC/codeaster/profile_local.sh ]; then
. $ASTER_ETC/codeaster/profile_local.sh
fi
#--- endif DEFINE_PROFILE_ASRUN ------------------------------------------------
fi
|