☰
Debian Codegraph
@
5.7.0-1
5.6.2-1
5.6.1-3
5.6.1-2
/
/
doc
/
example
/
source-script-in-modulefile
/
modulefiles
/
bar
/
2.1
☽
☼
doc/example/source-script-in-modulefile/modulefiles/bar/2.1
code
plain
raw
GPL-2+
1996-1999 John L. Furlani & Peter W. Osel, 1998-2017 R.K.Owen , 2002-2004 Mark Lakata, © 2004-2017 Kent Mein, © 2016-2017 Xavier Delaruelle
debian/copyright
1
#%Module4.6
2
set scriptpath example/source-script-in-modulefile/bar-2.1
3
switch -- [module-info shelltype] {
4
sh {
5
source-sh bash $scriptpath/bar-setup.sh
6
}
7
csh {
8
source-sh tcsh $scriptpath/bar-setup.csh
9
}
10
}