diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:49:33 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:49:33 -0400 |
commit | 62cc261182759c5e89cd540816337e29822bffdd (patch) | |
tree | f60c4f28b7a1d284826aa391f85c2b765e18029c /system/lirc | |
parent | e4937e2e47bfd09424803707ca5829fed96a9125 (diff) | |
download | slackbuilds-62cc261182759c5e89cd540816337e29822bffdd.tar.gz |
system/lirc: Fixed for bash4.
Diffstat (limited to 'system/lirc')
-rw-r--r-- | system/lirc/lirc.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
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 {} \; |