summaryrefslogtreecommitdiff
path: root/development/icoutils/icoutils.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/icoutils/icoutils.SlackBuild')
-rw-r--r--development/icoutils/icoutils.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/development/icoutils/icoutils.SlackBuild b/development/icoutils/icoutils.SlackBuild
index 8856595b1d..57086e1633 100644
--- a/development/icoutils/icoutils.SlackBuild
+++ b/development/icoutils/icoutils.SlackBuild
@@ -72,12 +72,8 @@ make install DESTDIR=$PKG
# Kill an empty directory
rmdir $PKG/usr/share 2>/dev/null || true
-( 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
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;