summaryrefslogtreecommitdiffstats
path: root/libraries/gnome-python2-gconf/gnome-python2-gconf.SlackBuild
diff options
context:
space:
mode:
author Matteo Bernardini2018-07-21 18:30:25 +0200
committer Matteo Bernardini2018-07-21 18:30:25 +0200
commitedc3e434486c95e7ee8e227def485cc9e068f377 (patch)
tree85312122d425cbf4fcc00475938a40451c4dc97c /libraries/gnome-python2-gconf/gnome-python2-gconf.SlackBuild
parentec1a4a932c386f509cf24092be7aa38837d57ddd (diff)
downloadslackbuilds-current-20180722.1.tar.gz
20180721.2 global branch merge.current-20180722.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/gnome-python2-gconf/gnome-python2-gconf.SlackBuild')
-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