File: profile.sh

package info (click to toggle)
astk 1.13.1-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 4,908 kB
  • sloc: tcl: 24,251; python: 19,546; sh: 279; makefile: 51
file content (50 lines) | stat: -rw-r--r-- 1,207 bytes parent folder | download | duplicates (2)
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
50
# 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