summaryrefslogtreecommitdiff
path: root/desktop/root-tail
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:32:15 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:32:15 -0400
commit4907f54c624fef3d1178725b2fcab2540c46b52f (patch)
treecf7f1d44238229d87a6e6e7b1ce78c2b28a11f9e /desktop/root-tail
parentcddeea8f2f936eb2928ef1dae5904fd23df907e8 (diff)
downloadslackbuilds-4907f54c624fef3d1178725b2fcab2540c46b52f.tar.gz
desktop/root-tail: Fixed for bash4.
Diffstat (limited to 'desktop/root-tail')
-rw-r--r--desktop/root-tail/root-tail.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/desktop/root-tail/root-tail.SlackBuild b/desktop/root-tail/root-tail.SlackBuild
index 38b3bff3df..adf643d0de 100644
--- a/desktop/root-tail/root-tail.SlackBuild
+++ b/desktop/root-tail/root-tail.SlackBuild
@@ -47,12 +47,8 @@ make DESTDIR=$PKG install
# the makefile wants the man pages mode to be 444
make DESTDIR=$PKG INSTMANFLAGS="-m 0644" install.man
-( 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 {} \;