summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--development/hexedit/hexedit.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/development/hexedit/hexedit.SlackBuild b/development/hexedit/hexedit.SlackBuild
index 6dc6e31268..135cd06d40 100644
--- a/development/hexedit/hexedit.SlackBuild
+++ b/development/hexedit/hexedit.SlackBuild
@@ -53,12 +53,8 @@ make
/usr/bin/ginstall -d -m 0755 $PKG/usr/man/man1
/usr/bin/ginstall -m 0644 hexedit.1 $PKG/usr/man/man1
-( 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
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;