Commit c8899ef7 authored by gsell's avatar gsell

Pmodules/modulecmd

- quote argument for dirname(1)
- do NOT use 'declare -r' the variable 'bindir' (not all
  bourne-compatible shells are supporting this keyword)
parent b23f9399
......@@ -2,5 +2,5 @@
unset BASH_ENV
declare -r bindir=$( cd $(dirname $0) && pwd -P )
bindir=$( cd $(dirname "$0") && pwd -P )
"${bindir}/bash" --noprofile --norc "${bindir}/../libexec/modulecmd.bash" "$@"
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