summaryrefslogtreecommitdiff
path: root/system/tmux
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:50:34 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:50:34 -0400
commitb58c25c43af754347a309cf55e1ef238e7b3bb2b (patch)
treed618731da2b8f5579f3d99cf9e60b941317cebea /system/tmux
parent5b53825e04044cacc1ae1b55d972cce95ee8e6de (diff)
downloadslackbuilds-b58c25c43af754347a309cf55e1ef238e7b3bb2b.tar.gz
system/tmux: Fixed for bash4.
Diffstat (limited to 'system/tmux')
-rw-r--r--system/tmux/tmux.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/system/tmux/tmux.SlackBuild b/system/tmux/tmux.SlackBuild
index 689ac1accf..b6e8b15fb5 100644
--- a/system/tmux/tmux.SlackBuild
+++ b/system/tmux/tmux.SlackBuild
@@ -68,12 +68,8 @@ chown -R root:root $PKG
chmod 0755 $PKG/usr/bin/tmux
chmod 0644 $PKG/usr/man/man1/tmux.1
-( 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 {} \;