From 4fee94826fc30884e7d6d18c1f682b3314d0e493 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Wed, 8 Aug 2018 20:04:06 +0200 Subject: libraries/gnome-python2-gconf: Change the stripping routine. Avoids breaking build (probably cause of the newer file) Signed-off-by: Matteo Bernardini --- libraries/gnome-python2-gconf/gnome-python2-gconf.SlackBuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/gnome-python2-gconf/gnome-python2-gconf.SlackBuild b/libraries/gnome-python2-gconf/gnome-python2-gconf.SlackBuild index dc59fddf0630..8d4d20862e28 100644 --- a/libraries/gnome-python2-gconf/gnome-python2-gconf.SlackBuild +++ b/libraries/gnome-python2-gconf/gnome-python2-gconf.SlackBuild @@ -85,8 +85,8 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG -find $PKG | xargs file | egrep "ELF.*shared object" | cut -f 1 -d : \ - | xargs strip --strip-unneeded 2> /dev/null +find $PKG -print0 | xargs -0 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 AUTHORS COPYING ChangeLog NEWS README $PKG/usr/doc/$PRGNAM-$VERSION -- cgit v1.2.3