Home
last modified time | relevance | path

Searched refs:modulespath (Results 1 – 25 of 33) sorted by relevance

12

/dports/sysutils/modules/modules-4.6.0/init/
H A DMakefile46 all: .modulespath
51 modulespath := $(etcdir)/modulespath macro
54 modulespath := $(initdir)/.modulespath macro
242 rm -f $(DESTDIR)$(modulespath) $(DESTDIR)$(initrc)
245 cp -R -P .modulespath $(DESTDIR)$(modulespath)
266 rm -f $(DESTDIR)$(modulespath) $(DESTDIR)$(initrc)
280 rm -f $(ALL_SHELLS) modulerc zsh-functions/_module .modulespath $(EXAMPLE_MODFILES_SRCDIR)/modules
/dports/sysutils/modules/modules-4.6.0/doc/example/modulepaths-persist-over-sudo/
H A Drc3 # ensure MODULEPATH is always defined, use content of .modulespath config file
5 if {![is-used] && [file readable /usr/share/Modules/init/.modulespath]} {
6 set fid [open /usr/share/Modules/init/.modulespath r]
/dports/sysutils/modules/modules-4.6.0/testsuite/example/
H A D.modulespath-empty4 # init/.modulespath. Generated from .modulespath.in by configure.
H A D.modulespath.in4 # init/.modulespath. Generated from .modulespath.in by configure.
/dports/sysutils/modules/modules-4.6.0/
H A DMakefile153 modulespath := $(etcdir)/modulespath macro
156 modulespath := $(initdir)/.modulespath macro
380 testsuite/example/.modulespath: testsuite/example/.modulespath.in
416 install-testmodspath: testsuite/example/.modulespath
418 cp $^ $(DESTDIR)$(modulespath)
420 install-testmodspath-empty: testsuite/example/.modulespath-empty
422 cp $^ $(DESTDIR)$(modulespath)
428 rm -f $(DESTDIR)$(modulespath)
629 …rm -f testsuite/example/.modulespath testsuite/example/modulerc testsuite/example/modulerc-1 tests…
H A DINSTALL.rst137 file or ``.modulespath`` if you have chosen ``--enable-dotmodulespath`` at
141 are respectively named ``initrc`` and ``modulespath``. If you use
142 ``.modulespath`` (or ``modulespath``) configuration file, add one line
157 ``.modulespath`` (or ``modulespath``) file. Add there all the modulefiles
228 --enable-dotmodulespath, --enable-modulespath
230 option in a ``.modulespath`` file (following C version
235 ``modulespath`` file within the configuration directory
415 ``.modulespath`` configuration file, depending on the
417 respectively called ``initrc`` and ``modulespath`` if
H A Dconfigure489 --enable-dotmodulespath*|--disable-dotmodulespath|--enable-modulespath*|--disable-modulespath)
H A DNEWS.rst720 ``modulerc`` file in ``initdir``. Following the same trend, ``modulespath``
722 ``.modulespath`` file in ``initdir``.
727 * Add the ``--enable-modulespath`` configure option, which is an alias for the
728 ``--enable-dotmodulespath`` option as ``.modulespath`` configuration file is
729 named ``modulespath`` when installed in ``etcdic``.
1430 * Correctly parse ``.modulespath`` initialization file to handle lines without
/dports/sysutils/modules/modules-4.6.0/compat/init/
H A Dperl.pm.in20 open(IN, "$ENV{'MODULESHOME'}/init/.modulespath") || die "cannot open '.modulespath' file: $!\n";
H A DMakefile.in101 CONFIG_CLEAN_FILES = .modulespath
126 am__DIST_COMMON = $(srcdir)/.modulespath.in $(srcdir)/Makefile.in
251 .modulespath
287 .modulespath: $(top_builddir)/config.status $(srcdir)/.modulespath.in
H A Dzsh.in22 …PATH=`sed -n 's/[ #].*$//; /./H; $ { x; s/^\n//; s/\n/:/g; p; }' ${MODULESHOME}/init/.modulespath`
H A Dksh.in22 …PATH=`sed -n 's/[ #].*$//; /./H; $ { x; s/^\n//; s/\n/:/g; p; }' ${MODULESHOME}/init/.modulespath`
H A Dsh.in22 …PATH=`sed -n 's/[ #].*$//; /./H; $ { x; s/^\n//; s/\n/:/g; p; }' ${MODULESHOME}/init/.modulespath`
H A DMakefile.am16 .modulespath
H A Dbash.in23 …PATH=`sed -n 's/[ #].*$//; /./H; $ { x; s/^\n//; s/\n/:/g; p; }' ${MODULESHOME}/init/.modulespath`
H A Dcmake.in23 file(STRINGS "$ENV{MODULESHOME}/init/.modulespath" cmi_mp1)
H A Dpython.py.in11 f = open(os.environ['MODULESHOME'] + "/init/.modulespath", "r")
H A Druby.rb.in10 …ENV['MODULEPATH'] = File.open("#{ENV['MODULESHOME']}/init/.modulespath","r").readlines.reject {|e|…
H A Dcsh.in48 …PATH `sed -n 's/[ #].*$//; /./H; $ { x; s/^\n//; s/\n/:/g; p; }' ${MODULESHOME}/init/.modulespath`
/dports/sysutils/modules/modules-4.6.0/doc/source/cookbook/
H A Dmodulepaths-persist-over-sudo.rst23 ``.modulespath`` configuration file, which contains the default modulepaths,
42 The location of the ``.modulespath`` file defined in the proposed RC script
56 on ``.modulespath`` configuration file::
/dports/sysutils/modules/modules-4.6.0/doc/source/
H A DINSTALL.rst137 file or ``.modulespath`` if you have chosen ``--enable-dotmodulespath`` at
141 are respectively named ``initrc`` and ``modulespath``. If you use
142 ``.modulespath`` (or ``modulespath``) configuration file, add one line
157 ``.modulespath`` (or ``modulespath``) file. Add there all the modulefiles
228 --enable-dotmodulespath, --enable-modulespath
230 option in a ``.modulespath`` file (following C version
235 ``modulespath`` file within the configuration directory
415 ``.modulespath`` configuration file, depending on the
417 respectively called ``initrc`` and ``modulespath`` if
H A DNEWS.rst720 ``modulerc`` file in ``initdir``. Following the same trend, ``modulespath``
722 ``.modulespath`` file in ``initdir``.
727 * Add the ``--enable-modulespath`` configure option, which is an alias for the
728 ``--enable-dotmodulespath`` option as ``.modulespath`` configuration file is
729 named ``modulespath`` when installed in ``etcdic``.
1430 * Correctly parse ``.modulespath`` initialization file to handle lines without
/dports/sysutils/modules/modules-4.6.0/compat/
H A Dlocate_module.c164 char *modulespath; /** Buffer for the contents of the **/ in Locate_ModuleFile() local
244 if( !( modulespath = (char *) getenv( "MODULEPATH"))) { in Locate_ModuleFile()
254 if ((char *) NULL != (end = strrchr(modulespath, '\n'))) *end = '\0'; in Locate_ModuleFile()
269 if( NULL == (pathlist = SplitIntoList(interp, modulespath, &numpaths, in Locate_ModuleFile()
H A D.spec.in61 /etc/Modules/init/.modulespath
/dports/sysutils/modules/modules-4.6.0/contrib/rpm/
H A Denvironment-modules.spec.in237 %config(noreplace) %{_sysconfdir}/%{name}/modulespath
300 files previously installed in init directory. modulerc and .modulespath
301 files in init directory respectively become initrc and modulespath in etc
452 - Make .modulespath a config file

12