diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:38:04 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:38:04 -0400 |
commit | 529945a928bf321de6a8118621da8fe7980e9860 (patch) | |
tree | e1a86a3adf0e6546d4c685a68c55391f52f0a3b6 /libraries/libsmbios/libsmbios.SlackBuild | |
parent | 1f59e75bc89c27d0f8df55bc53a7b84a104dca06 (diff) |
libraries/libsmbios: Fixed for bash4.
Diffstat (limited to 'libraries/libsmbios/libsmbios.SlackBuild')
-rw-r--r-- | libraries/libsmbios/libsmbios.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libraries/libsmbios/libsmbios.SlackBuild b/libraries/libsmbios/libsmbios.SlackBuild index aa65c3f1acbc2..fc23b6c5b6c70 100644 --- a/libraries/libsmbios/libsmbios.SlackBuild +++ b/libraries/libsmbios/libsmbios.SlackBuild @@ -54,12 +54,8 @@ mv $PKG/etc/libsmbios/logging.conf $PKG/etc/libsmbios/logging.conf.new # Remove the ick, er, yum stuff rm -rf $PKG/etc/yum -( 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ |