From 661f58173949297709d89bbaca63bc3458d10d17 Mon Sep 17 00:00:00 2001
From: David Somero <xgizzmo@slackbuilds.org>
Date: Wed, 19 May 2010 02:33:36 -0400
Subject: development/hexedit: Fixed for bash4.

---
 development/hexedit/hexedit.SlackBuild | 8 ++------
 1 file 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 {} \;
-- 
cgit v1.2.3