ajouter aussi le chemin vers les uapps python
This commit is contained in:
parent
89e180cd49
commit
2a75d4088f
|
@ -66,8 +66,8 @@ if ! grep -q '$scriptdir/profile' ~/.bash_profile; then
|
|||
__uenv_cleanup
|
||||
fi
|
||||
|
||||
# Modifier le PATH
|
||||
PATH=$(quoted_args "$scriptdir"):\"$PATH\"
|
||||
# Modifier le PATH. Ajouter aussi le chemin vers les uapps python
|
||||
PATH=$(quoted_args "$scriptdir:$scriptdir/pyulib/src/uapps:$PATH")
|
||||
|
||||
if [ -n '$DEFAULT_PS1' ]; then
|
||||
DEFAULT_PS1=$(quoted_args "[ulibshell] $DEFAULT_PS1")
|
||||
|
@ -77,8 +77,7 @@ else
|
|||
fi
|
||||
PS1=\"[ulibshell] \$PS1\"
|
||||
fi
|
||||
$(quoted_args source "$scriptdir/ulib/ulib")
|
||||
urequire DEFAULTS" >"$bashrc"
|
||||
$(quoted_args source "$scriptdir/ulib/auto")" >"$bashrc"
|
||||
|
||||
array_fix_paths modules
|
||||
if [ -n "${modules[*]}" ]; then
|
||||
|
@ -93,5 +92,6 @@ fi
|
|||
estep "Lancement du sous-shell"
|
||||
"$SHELL" --rcfile "$bashrc" -i -- "$@"
|
||||
|
||||
ac_clean "$bashrc"
|
||||
# note: ne pas faire exec "$SHELL", parce que sinon le fichier temporaire bashrc
|
||||
# n'est pas supprimé
|
||||
|
|
Loading…
Reference in New Issue