aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:47:40 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:47:40 -0400
commitf3b51e67ba7fa867924378d790080c8b9bda0de7 (patch)
tree0b0095bc05b9aa6396c1132c499e2dd1558f9ff8
parentbeb01bb426b63d4c0c7a36618c58ce11c727dec6 (diff)
system/Eterm: Fixed for bash4.
-rw-r--r--system/Eterm/Eterm.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/system/Eterm/Eterm.SlackBuild b/system/Eterm/Eterm.SlackBuild
index 362572d970bd..2455e14c12fb 100644
--- a/system/Eterm/Eterm.SlackBuild
+++ b/system/Eterm/Eterm.SlackBuild
@@ -86,12 +86,8 @@ make install DESTDIR=$PKG
# Let's add a compatibility/sensible symlink
( cd $PKG/usr/bin ; ln -s Eterm eterm )
-( 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 {} \;