summaryrefslogtreecommitdiff
path: root/libraries/libsmbios
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libsmbios')
-rw-r--r--libraries/libsmbios/libsmbios.SlackBuild8
1 files changed, 2 insertions, 6 deletions
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 \