summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--espresso/espresso.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/espresso/espresso.spec b/espresso/espresso.spec
index f7a9231..5ceca4b 100644
--- a/espresso/espresso.spec
+++ b/espresso/espresso.spec
@@ -175,7 +175,7 @@ pushd mpich_build
%make_install
popd
%{_mpich_unload}
-find %{buildroot} -name "*.so" -exec chmod +x {} \;
+find %{buildroot}%{_prefix} -name "*.so" -exec chmod +x {} \;
%check
# test openmpi?