Skip to content

Commit

Permalink
//fix issue #33
Browse files Browse the repository at this point in the history
  • Loading branch information
Johnny Devaprasad committed Jul 26, 2016
1 parent cac2b91 commit 9274ed5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Lmod/branches/7.0/Lmod-illumina.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9274ed5

Please sign in to comment.