summaryrefslogtreecommitdiff
path: root/development/hexedit/hexedit.SlackBuild
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:36 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:33:36 -0400
commit661f58173949297709d89bbaca63bc3458d10d17 (patch)
tree05bb979b63cccf0083a75c7e1a3580ed02f68fe4 /development/hexedit/hexedit.SlackBuild
parent11ac0d4734decd8987e25aae7aa2492b40a90999 (diff)
downloadslackbuilds-661f58173949297709d89bbaca63bc3458d10d17.tar.gz
development/hexedit: Fixed for bash4.
Diffstat (limited to 'development/hexedit/hexedit.SlackBuild')
-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 {} \;