aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2018-08-08 20:04:06 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-08-11 07:23:12 +0700
commit4fee94826fc30884e7d6d18c1f682b3314d0e493 (patch)
tree8788c3269e7a0626af2a8097f69d9aaa89632f84 /libraries
parenta97c31bc50e2db789c03ef6db0bb5caaca0e56e7 (diff)
libraries/gnome-python2-gconf: Change the stripping routine.
Avoids breaking build (probably cause of the newer file) Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries')
-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 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