aboutsummaryrefslogtreecommitdiff
path: root/development/polyml/polyml.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/polyml/polyml.SlackBuild')
-rw-r--r--development/polyml/polyml.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/development/polyml/polyml.SlackBuild b/development/polyml/polyml.SlackBuild
index 1d97c0ef87154..b98dd334dcc43 100644
--- a/development/polyml/polyml.SlackBuild
+++ b/development/polyml/polyml.SlackBuild
@@ -54,12 +54,8 @@ make
make install DESTDIR=$PKG
# Strip binaries and libraries
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null || true
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null || true
-)
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# Compress man pages
( cd $PKG/usr/man