summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:43:20 -0400
committer David Somero <xgizzmo@slackbuilds.org>2010-05-19 02:43:20 -0400
commit779e81243b1166a1ddc994a133b89869d6909fb4 (patch)
treefd6086d2483700649651606c596a85203579c3d3
parent12505226ad8d46be144705bdd1dfdfa480620c3f (diff)
downloadslackbuilds-779e81243b1166a1ddc994a133b89869d6909fb4.tar.gz
slackbuilds-779e81243b1166a1ddc994a133b89869d6909fb4.tar.xz
network/gnome-mail-notification: Fixed for bash4.
-rw-r--r--network/gnome-mail-notification/gnome-mail-notification.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/network/gnome-mail-notification/gnome-mail-notification.SlackBuild b/network/gnome-mail-notification/gnome-mail-notification.SlackBuild
index 46e396442f..2d35a84d72 100644
--- a/network/gnome-mail-notification/gnome-mail-notification.SlackBuild
+++ b/network/gnome-mail-notification/gnome-mail-notification.SlackBuild
@@ -54,12 +54,8 @@ CXXFLAGS="$SLKCFLAGS" \
./jb build
./jb install
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null || true
- find . | 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 \