summaryrefslogtreecommitdiff
path: root/libraries/gnome-python2-gconf
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/gnome-python2-gconf')
-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