Files
modules/testsuite/modulefiles/source/1.2
Xavier Delaruelle 93892647f3 Treat file relative to cwd in source/unsource
So a relative file to source from a modulefile or modulerc, is relative
starting from the directory of the modulefile/modulerc sourcing it.

Add a specific case to treat empty file name by the way.
2018-01-13 16:27:49 +01:00

28 lines
648 B
Groff

#%Module1.0
##############################################################################
# Modules Revision 3.0
# Providing a flexible user environment
#
# File: source/%M%
# Revision: %I%
# First Edition: 2018/01/07
# Last Mod.: %U%, %G%
#
# Authors: Xavier Delaruelle, xavier.delaruelle@cea.fr
#
# Description: Testuite modulefile
# Command:
# Sub-Command: source, setenv, append-path
#
# Invocation: load @M@
# Result: %R{
# }R%
# Comment: %C{
# Check the 'source' sub-command, passing empty file name
# }C%
#
##############################################################################
module source {}