From 6a9f5008d13e06aca390d6f168095c97cb7a9098 Mon Sep 17 00:00:00 2001 From: Reese Baird Date: Wed, 9 Nov 2016 09:49:07 -0800 Subject: [PATCH] adjust module file on aarch64 (#289) --- components/dev-tools/easybuild/SPECS/easybuild.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/dev-tools/easybuild/SPECS/easybuild.spec b/components/dev-tools/easybuild/SPECS/easybuild.spec index 1f11da264d..b821059dcf 100644 --- a/components/dev-tools/easybuild/SPECS/easybuild.spec +++ b/components/dev-tools/easybuild/SPECS/easybuild.spec @@ -82,9 +82,10 @@ MODULEPATH= python ./bootstrap_eb.py %{buildroot}/%{install_path} %ifarch aarch64 rm %{buildroot}%{install_path}/modules/base/EasyBuild/%{version} +$else +sed -i 's|%{buildroot}||g' %{buildroot}%{install_path}/modules/all/EasyBuild/2.9.0 %endif rm bootstrap_eb.py* -sed -i 's|%{buildroot}||g' %{buildroot}%{install_path}/modules/all/EasyBuild/2.9.0 pushd %{buildroot}%{install_path}/modules/tools/EasyBuild/ rm 2.9.0 ln -s ../../all/EasyBuild/2.9.0 .