summaryrefslogtreecommitdiff
path: root/desktop/gtk-kde4
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:54 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:31:54 -0400
commite98e4bf09aead184715f9345bb522099b0e4fb2e (patch)
tree1de07744dc6ce064c2a14b7f9c38dd08b6ce2291 /desktop/gtk-kde4
parent50e881a9418ea93241f07c46057a476b5026138f (diff)
downloadslackbuilds-e98e4bf09aead184715f9345bb522099b0e4fb2e.tar.gz
desktop/gtk-kde4: Fixed for bash4.
Diffstat (limited to 'desktop/gtk-kde4')
-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 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