diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:31:54 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:31:54 -0400 |
commit | e98e4bf09aead184715f9345bb522099b0e4fb2e (patch) | |
tree | 1de07744dc6ce064c2a14b7f9c38dd08b6ce2291 /desktop | |
parent | 50e881a9418ea93241f07c46057a476b5026138f (diff) |
desktop/gtk-kde4: Fixed for bash4.
Diffstat (limited to 'desktop')
-rwxr-xr-x | desktop/gtk-kde4/gtk-kde4.SlackBuild | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/desktop/gtk-kde4/gtk-kde4.SlackBuild b/desktop/gtk-kde4/gtk-kde4.SlackBuild index 256f666f3bd2..a3e9bd5e939f 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 |