From e98e4bf09aead184715f9345bb522099b0e4fb2e Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 19 May 2010 02:31:54 -0400 Subject: desktop/gtk-kde4: Fixed for bash4. --- desktop/gtk-kde4/gtk-kde4.SlackBuild | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'desktop/gtk-kde4/gtk-kde4.SlackBuild') diff --git a/desktop/gtk-kde4/gtk-kde4.SlackBuild b/desktop/gtk-kde4/gtk-kde4.SlackBuild index 256f666f3b..a3e9bd5e93 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 -- cgit v1.2.3