"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "init/fish.in" between
modules-5.1.1.tar.bz2 and modules-5.2.0.tar.bz2

About: The Environment Modules package provides for the dynamic modification of a user’s environment via modulefiles.

fish.in  (modules-5.1.1.tar.bz2):fish.in  (modules-5.2.0.tar.bz2)
skipping to change at line 23 skipping to change at line 23
set _mlrv "MODULES_RUNENV_$_mlv" set _mlrv "MODULES_RUNENV_$_mlv"
set _mlre "$_mlre$_mlv='$$_mlrv' " set _mlre "$_mlre$_mlv='$$_mlrv' "
end end
end end
if [ -n "$_mlre" ] if [ -n "$_mlre" ]
set _mlre "env $_mlre __MODULES_QUARANTINE_SET=1" set _mlre "env $_mlre __MODULES_QUARANTINE_SET=1"
end end
# define module command and surrounding initial environment (default value # define module command and surrounding initial environment (default value
# for MODULESHOME, MODULEPATH, LOADEDMODULES and parse of init config files) # for MODULESHOME, MODULEPATH, LOADEDMODULES and parse of init config files)
eval $_mlre @TCLSH@ @libexecdir@/modulecmd.tcl fish autoinit | source - eval $_mlre @TCLSH@ \'@libexecdir@/modulecmd.tcl\' fish autoinit | source -
# no environment alteration if the above autoinit command failed
if [ $status -eq 0 ]
@sourcefishcomp@ if status -i
@sourcefishcomp@ if [ -r @initdir@/fish_completion ]
@sourcefishcomp@ source @initdir@/fish_completion
@sourcefishcomp@ end
@sourcefishcomp@ end
@sourcefishcomp@
@setbinpath@ if not contains @bindir@ $PATH
@setbinpath@@prependbinpath@ set -xg PATH @bindir@ $PATH
@setbinpath@@appendbinpath@ set -xg PATH $PATH @bindir@
@setbinpath@ end
@setbinpath@
@setmanpath@ # initialize MANPATH if not set with a value that preserves manpa
th system
@setmanpath@ # configuration even after addition of paths to this variable by
modulefiles
@setmanpath@ if not set -q MANPATH
@setmanpath@ set -xg MANPATH :
@setmanpath@ end
@setmanpath@@usemanpath@ if not string match -q '*:@mandir@:*' :(manpath 2>/de
v/null):
@setmanpath@@notusemanpath@ if not string match -q '*:@mandir@:*' :$MANPATH:
@setmanpath@ if [ -z "$MANPATH" -o "$MANPATH" = ':' ]
@setmanpath@ set _mlpathsep ''
@setmanpath@ else
@setmanpath@ set _mlpathsep :
@setmanpath@ end
@setmanpath@@prependmanpath@ set -xg MANPATH @mandir@$_mlpathsep$MANPATH
@setmanpath@@appendmanpath@ set -xg MANPATH $MANPATH$_mlpathsep@mandir@
@setmanpath@ set -e _mlpathsep
@setmanpath@ end
end
# clean temp variables used to setup quarantine # clean temp variables used to setup quarantine
set -e _mlre; set -e _mlv; set -e _mlrv; set -e _mlre; set -e _mlv; set -e _mlrv;
 End of changes. 1 change blocks. 
35 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)