diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:50:28 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:50:28 -0400 |
commit | ceb56fcda7ed85495720be5c35467a56fa0b849c (patch) | |
tree | 8ecb5690c7cf108bf0b85bf469fececb74844c32 /system/set_rlimits | |
parent | d10f5b3ed8209f99de83d6fc37edde527181417d (diff) |
system/set_rlimits: Fixed for bash4.
Diffstat (limited to 'system/set_rlimits')
-rw-r--r-- | system/set_rlimits/set_rlimits.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/system/set_rlimits/set_rlimits.SlackBuild b/system/set_rlimits/set_rlimits.SlackBuild index 673bed551d7c..92520556f663 100644 --- a/system/set_rlimits/set_rlimits.SlackBuild +++ b/system/set_rlimits/set_rlimits.SlackBuild @@ -47,12 +47,8 @@ make install PREFIX=/usr DESTDIR=$PKG mv $PKG/etc/set_rlimits.conf $PKG/etc/set_rlimits.conf.new -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null - 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 {} \; |