summaryrefslogtreecommitdiffstats
path: root/libraries/gnome-python2-gconf/gnome-python2-gconf.SlackBuild
diff options
context:
space:
mode:
author Matteo Bernardini2018-06-09 09:46:04 +0200
committer Matteo Bernardini2018-06-09 09:46:04 +0200
commitc18f81605673c2bc77b734c7ad42c181f65a086b (patch)
treeb5c481edee49d22658d07c630d8481ca16f5f653 /libraries/gnome-python2-gconf/gnome-python2-gconf.SlackBuild
parent81c344443219574587ae3d6bccb8f19c1bd346af (diff)
downloadold.slackbuilds-current.tar.gz
20180609.1 global branch merge.current-20180609.1current
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