Pmodules/modmanage,modulecmd:

- use /bin/sh in shebang
- unset BASH_ENV
This commit is contained in:
2015-09-17 11:20:57 +02:00
parent 39ef71e8c5
commit 2856ab6962
2 changed files with 6 additions and 2 deletions

View File

@@ -1,4 +1,6 @@
#!/bin/bash --noprofile
#!/bin/sh --noprofile
unset BASH_ENV
declare -r bindir=$( cd $(dirname $0) && pwd -P )
"${bindir}/bash" --noprofile --norc "${bindir}/../libexec/modmanage.bash" "$@"

View File

@@ -1,4 +1,6 @@
#!/bin/bash --noprofile
#!/bin/sh --noprofile
unset BASH_ENV
declare -r bindir=$( cd $(dirname $0) && pwd -P )
"${bindir}/bash" --noprofile --norc "${bindir}/../libexec/modulecmd.bash" "$@"