summaryrefslogtreecommitdiffstats
path: root/system/emelfm2
diff options
context:
space:
mode:
author David Somero2010-05-19 08:48:32 +0200
committer David Somero2010-05-19 08:48:32 +0200
commit830242f899dbaf97f814c504751c9260a911b436 (patch)
treec30afc47618a76e39b91112da1194d6ddb2d0d9b /system/emelfm2
parent972ff7cf5257bc4b45b595879f47ce8399c87dcd (diff)
downloadslackbuilds-830242f899dbaf97f814c504751c9260a911b436.tar.gz
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 fb4ec637f4..8f3ce27a88 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 {} \;