aboutsummaryrefslogtreecommitdiff
path: root/desktop/gtk-kde4/gtk-kde4.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/gtk-kde4/gtk-kde4.SlackBuild')
-rwxr-xr-xdesktop/gtk-kde4/gtk-kde4.SlackBuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/desktop/gtk-kde4/gtk-kde4.SlackBuild b/desktop/gtk-kde4/gtk-kde4.SlackBuild
index 256f666f3bd23..a3e9bd5e939fa 100755
--- a/desktop/gtk-kde4/gtk-kde4.SlackBuild
+++ b/desktop/gtk-kde4/gtk-kde4.SlackBuild
@@ -77,10 +77,8 @@ make install VERBOSE=1 DESTDIR=$PKG
# fix desktop shortcut
sed -i 's/kcmshell4 gk4/kcmshell4 kcm_gk4/' kcm/kcm_gk4.desktop
-find $PKG | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
-find $PKG | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
+find $PKG | xargs 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 COPYING $PKG/usr/doc/$PRGNAM-$VERSION