mirror of
https://github.com/envmodules/modules.git
synced 2026-06-14 00:42:43 +08:00
Some variables, that were unquoted intentionally were converted to arrays. According to ShellCheck's documentation: Quoting variables prevents word splitting and glob expansion, and prevents the script from breaking when input contains spaces, line feeds, glob characters and such. Related: https://www.shellcheck.net/wiki/SC2086 Related: #470
7 lines
171 B
Bash
7 lines
171 B
Bash
#!/bin/bash
|
|
|
|
source "$MOD_GIT_ROOTDIR"/doc/example/compiler-etc-dependencies/example-sessions/common_code.sh
|
|
|
|
do_cmd module --version
|
|
do_cmd echo "MODULEPATH=$MODULEPATH"
|