summaryrefslogtreecommitdiff
path: root/system/tmux/tmux.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/tmux/tmux.SlackBuild')
-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 {} \;