summaryrefslogtreecommitdiff
path: root/libraries/libgtop
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libgtop')
-rw-r--r--libraries/libgtop/libgtop.SlackBuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/libraries/libgtop/libgtop.SlackBuild b/libraries/libgtop/libgtop.SlackBuild
index a74830b181..9eeec226c4 100644
--- a/libraries/libgtop/libgtop.SlackBuild
+++ b/libraries/libgtop/libgtop.SlackBuild
@@ -77,10 +77,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-( 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
-)
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*.info*