Commit 154d578e authored by gsell's avatar gsell
Browse files

scripts/Bootstrap/Pmodules/modulecmd.in:

- bugfix in 'subcommand_use()'
parent 6df1aadf
...@@ -1028,7 +1028,7 @@ subcommand_use() { ...@@ -1028,7 +1028,7 @@ subcommand_use() {
# ... # ...
# elif is directory # 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 if [[ ${arg} == -a ]] || [[ ${arg} == --append ]]; then
subcommand_switches='--append' subcommand_switches='--append'
elif [[ ${arg} == -p ]] || [[ ${arg} == --prepend ]]; then elif [[ ${arg} == -p ]] || [[ ${arg} == --prepend ]]; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment