From 2f79681ac643f43b8c4cfffd097f0c2da8c49ee7 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Wed, 17 Mar 2021 17:23:41 +0100 Subject: [PATCH] module search: some not really required sanity checks removed --- Pmodules/modulecmd.bash.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Pmodules/modulecmd.bash.in b/Pmodules/modulecmd.bash.in index c7e6b8e..99a9268 100755 --- a/Pmodules/modulecmd.bash.in +++ b/Pmodules/modulecmd.bash.in @@ -21,7 +21,6 @@ declare -r getopt="${sbindir}/getopt" declare -r find="${sbindir}/find" source "${libdir}/libstd.bash" -source "${libdir}/libpmodules.bash" : ${PMODULES_DEFINED_RELEASES:=':unstable:stable:deprecated:'} @@ -1804,8 +1803,8 @@ subcommand_search() { opt_use_releases="${PMODULES_DEFINED_RELEASES}" ;; --src ) + # :FIXME: do we have to add some sanity checks here? src_prefix=$2 - pmodules::check_directories "${src_prefix}" shift ;; -v | --verbose )