summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2018-04-20 10:08:22 +0200
committer Matteo Bernardini2018-06-09 07:55:56 +0200
commitcc54a363f8eaf78d1b908585dba56998d924baf6 (patch)
tree21f7e719df513e3afdc43690a55737305d373ece
parent81c344443219574587ae3d6bccb8f19c1bd346af (diff)
downloadold.slackbuilds-gnome-python2-gconf.tar.gz
libraries/gnome-python2-gconf: Fix stripping routine.gnome-python2-gconf
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--libraries/gnome-python2-gconf/gnome-python2-gconf.SlackBuild4
1 files 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 dc59fddf06..8d4d20862e 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