diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:40:50 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:40:50 -0400 |
commit | 73b99cedcd8167a8b7b635a34b6612035301c10b (patch) | |
tree | 0ca671b50eda5ccb12b64311a086a198ef54feff | |
parent | 2d3cfed646aa262aa91729ab80c47b659143c8a4 (diff) |
multimedia/gst-plugins-ugly: Fixed for bash4.
-rw-r--r-- | multimedia/gst-plugins-ugly/gst-plugins-ugly.SlackBuild | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/multimedia/gst-plugins-ugly/gst-plugins-ugly.SlackBuild b/multimedia/gst-plugins-ugly/gst-plugins-ugly.SlackBuild index 4107fd0636bf6..cebcc44ebedbd 100644 --- a/multimedia/gst-plugins-ugly/gst-plugins-ugly.SlackBuild +++ b/multimedia/gst-plugins-ugly/gst-plugins-ugly.SlackBuild @@ -73,10 +73,8 @@ CXXFLAGS="$SLKCFLAGS" \ make make install-strip 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 ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL README NEWS \ |