summaryrefslogtreecommitdiff
path: root/desktop/xfce4-diskperf-plugin
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:32:40 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:32:40 -0400
commit7685b2bac0711b3e0b7f887b0102fe2d997e66b0 (patch)
tree9f3b18e4c3a38941f0417c25d1edc89dfb368997 /desktop/xfce4-diskperf-plugin
parent3c059fe9bf443535cd5644ead11b78273df057f0 (diff)
downloadslackbuilds-7685b2bac0711b3e0b7f887b0102fe2d997e66b0.tar.gz
desktop/xfce4-diskperf-plugin: Fixed for bash4.
Diffstat (limited to 'desktop/xfce4-diskperf-plugin')
-rw-r--r--desktop/xfce4-diskperf-plugin/xfce4-diskperf-plugin.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/desktop/xfce4-diskperf-plugin/xfce4-diskperf-plugin.SlackBuild b/desktop/xfce4-diskperf-plugin/xfce4-diskperf-plugin.SlackBuild
index 60fb2ecfbd..ad0c2a4988 100644
--- a/desktop/xfce4-diskperf-plugin/xfce4-diskperf-plugin.SlackBuild
+++ b/desktop/xfce4-diskperf-plugin/xfce4-diskperf-plugin.SlackBuild
@@ -73,12 +73,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 \