diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:32:40 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:32:40 -0400 |
commit | 7685b2bac0711b3e0b7f887b0102fe2d997e66b0 (patch) | |
tree | 9f3b18e4c3a38941f0417c25d1edc89dfb368997 | |
parent | 3c059fe9bf443535cd5644ead11b78273df057f0 (diff) | |
download | slackbuilds-7685b2bac0711b3e0b7f887b0102fe2d997e66b0.tar.gz |
desktop/xfce4-diskperf-plugin: Fixed for bash4.
-rw-r--r-- | desktop/xfce4-diskperf-plugin/xfce4-diskperf-plugin.SlackBuild | 8 |
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 \ |