aboutsummaryrefslogtreecommitdiff
path: root/system/emelfm2
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:48:32 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:48:32 -0400
commit830242f899dbaf97f814c504751c9260a911b436 (patch)
treec30afc47618a76e39b91112da1194d6ddb2d0d9b /system/emelfm2
parent972ff7cf5257bc4b45b595879f47ce8399c87dcd (diff)
system/emelfm2: Fixed for bash4.
Diffstat (limited to 'system/emelfm2')
-rw-r--r--system/emelfm2/emelfm2.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/system/emelfm2/emelfm2.SlackBuild b/system/emelfm2/emelfm2.SlackBuild
index fb4ec637f4130..8f3ce27a88c55 100644
--- a/system/emelfm2/emelfm2.SlackBuild
+++ b/system/emelfm2/emelfm2.SlackBuild
@@ -83,12 +83,8 @@ for i in 24 32 48 ; do
)
done
-( 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 {} \;