From 2856ab6962d312432d7e83ad1c24d99c4caded51 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Thu, 17 Sep 2015 11:20:57 +0200 Subject: [PATCH] Pmodules/modmanage,modulecmd: - use /bin/sh in shebang - unset BASH_ENV --- scripts/Bootstrap/Pmodules/modmanage | 4 +++- scripts/Bootstrap/Pmodules/modulecmd | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/Bootstrap/Pmodules/modmanage b/scripts/Bootstrap/Pmodules/modmanage index e129aae..3f0ed89 100644 --- a/scripts/Bootstrap/Pmodules/modmanage +++ b/scripts/Bootstrap/Pmodules/modmanage @@ -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" "$@" diff --git a/scripts/Bootstrap/Pmodules/modulecmd b/scripts/Bootstrap/Pmodules/modulecmd index f35a650..89ca1ab 100644 --- a/scripts/Bootstrap/Pmodules/modulecmd +++ b/scripts/Bootstrap/Pmodules/modulecmd @@ -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" "$@"