aboutsummaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:32:00 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:32:00 -0400
commitac4b47ab1701bb4193bc38edbd9605d362dc8e7a (patch)
treeb551de5938c685907bdb3e92153ba09162a54e82 /desktop
parent53923a90074f045ddbab0837e26e0f2c2e1f613f (diff)
desktop/notification-daemon-xfce: Fixed for bash4.
Diffstat (limited to 'desktop')
-rw-r--r--desktop/notification-daemon-xfce/notification-daemon-xfce.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/desktop/notification-daemon-xfce/notification-daemon-xfce.SlackBuild b/desktop/notification-daemon-xfce/notification-daemon-xfce.SlackBuild
index 975dcb71cbb5a..54568c4a98dbb 100644
--- a/desktop/notification-daemon-xfce/notification-daemon-xfce.SlackBuild
+++ b/desktop/notification-daemon-xfce/notification-daemon-xfce.SlackBuild
@@ -72,12 +72,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
- 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 \