From 9274ed517f3405b14e375cad3d678b4ae01a1faa Mon Sep 17 00:00:00 2001 From: Johnny Devaprasad Date: Tue, 26 Jul 2016 11:42:06 -0700 Subject: [PATCH] //fix issue #33 --- Lmod/branches/7.0/Lmod-illumina.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Lmod/branches/7.0/Lmod-illumina.spec b/Lmod/branches/7.0/Lmod-illumina.spec index 86ad739..b5be771 100644 --- a/Lmod/branches/7.0/Lmod-illumina.spec +++ b/Lmod/branches/7.0/Lmod-illumina.spec @@ -109,6 +109,10 @@ done sed -i 's/local s = "@git@"/local s = "(%{lmod_upstream_gitid})"/g' %{buildroot}/usr/share/lmod/%{version}/libexec/Version.lua sed -i 's/local s = "@git@"/local s = "(%{lmod_upstream_gitid})"/g' %{buildroot}/usr/share/lmod/%{version}/settarg/Version.lua +# Fix BASHENV issue +if [ -f "%{buildroot}/usr/share/lmod/%{version}/init/bash" ];then + sed -i '2i set +x' %{buildroot}//usr/share/lmod/%{version}/init/bash +fi %clean rm -rf $RPM_BUILD_ROOT