aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:49:33 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:49:33 -0400
commit62cc261182759c5e89cd540816337e29822bffdd (patch)
treef60c4f28b7a1d284826aa391f85c2b765e18029c
parente4937e2e47bfd09424803707ca5829fed96a9125 (diff)
system/lirc: Fixed for bash4.
-rw-r--r--system/lirc/lirc.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/system/lirc/lirc.SlackBuild b/system/lirc/lirc.SlackBuild
index 363992bd4eeca..07a6267cea5ff 100644
--- a/system/lirc/lirc.SlackBuild
+++ b/system/lirc/lirc.SlackBuild
@@ -104,12 +104,8 @@ cat contrib/lircmd.conf > $PKG/etc/lircmd.conf.new
cat contrib/lircrc > $PKG/etc/lircrc.new
cat $CWD/lirc.logrotate > $PKG/etc/logrotate.d/lirc.new
-( 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 {} \;