From 154d578ecb69b6c3a0b91c8b6b2292bff65c58f9 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Mon, 8 Jun 2015 10:57:35 +0200 Subject: [PATCH] scripts/Bootstrap/Pmodules/modulecmd.in: - bugfix in 'subcommand_use()' --- scripts/Bootstrap/Pmodules/modulecmd.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Bootstrap/Pmodules/modulecmd.in b/scripts/Bootstrap/Pmodules/modulecmd.in index 63371be..38e8220 100755 --- a/scripts/Bootstrap/Pmodules/modulecmd.in +++ b/scripts/Bootstrap/Pmodules/modulecmd.in @@ -1028,7 +1028,7 @@ subcommand_use() { # ... # elif is directory # ... - local modulfiles_dir="${PMODULES_ROOT}/${arg}/${PMODULES_MODULEFILES_DIR}" + local modulefiles_dir="${PMODULES_ROOT}/${arg}/${PMODULES_MODULEFILES_DIR}" if [[ ${arg} == -a ]] || [[ ${arg} == --append ]]; then subcommand_switches='--append' elif [[ ${arg} == -p ]] || [[ ${arg} == --prepend ]]; then