From 62cc261182759c5e89cd540816337e29822bffdd Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:49:33 -0400 Subject: system/lirc: Fixed for bash4. --- system/lirc/lirc.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'system/lirc') diff --git a/system/lirc/lirc.SlackBuild b/system/lirc/lirc.SlackBuild index 363992bd4e..07a6267cea 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 {} \; -- cgit v1.2.3