mirror of
https://github.com/envmodules/modules.git
synced 2026-06-14 00:42:43 +08:00
Enable append-path, prepend-path and remove-path to receive multiple path value arguments. Add some non-regression tests for modulefile or sub-command cases. Update modulefile.4 and module.1 docs. Closes #141
25 lines
641 B
Groff
25 lines
641 B
Groff
#%Module1.0
|
|
|
|
##############################################################################
|
|
# Modules Revision 3.0
|
|
# Providing a flexible user environment
|
|
#
|
|
# File: remove/%M%
|
|
# Revision: %I%
|
|
# First Edition: 2017/12/17
|
|
# Last Mod.: %U%, %G%
|
|
#
|
|
# Authors: Xavier Delaruelle, xavier.delaruelle@cea.fr
|
|
#
|
|
# Description: Test removing multiple paths passed as multiple strings
|
|
# Command:
|
|
# Sub-Command: remove-path
|
|
#
|
|
# Invocation: load @M@/@V@
|
|
# Comment: %C{
|
|
# }C%
|
|
#
|
|
##############################################################################
|
|
|
|
remove-path -d { } testsuite {http://foobar.com http://foobar.io} {}
|