From 529945a928bf321de6a8118621da8fe7980e9860 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:38:04 -0400 Subject: libraries/libsmbios: Fixed for bash4. --- libraries/libsmbios/libsmbios.SlackBuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'libraries/libsmbios') diff --git a/libraries/libsmbios/libsmbios.SlackBuild b/libraries/libsmbios/libsmbios.SlackBuild index aa65c3f1ac..fc23b6c5b6 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 \ -- cgit v1.2.3