summaryrefslogtreecommitdiff
path: root/multimedia/gst-plugins-ugly
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:40:50 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:40:50 -0400
commit73b99cedcd8167a8b7b635a34b6612035301c10b (patch)
tree0ca671b50eda5ccb12b64311a086a198ef54feff /multimedia/gst-plugins-ugly
parent2d3cfed646aa262aa91729ab80c47b659143c8a4 (diff)
downloadslackbuilds-73b99cedcd8167a8b7b635a34b6612035301c10b.tar.gz
multimedia/gst-plugins-ugly: Fixed for bash4.
Diffstat (limited to 'multimedia/gst-plugins-ugly')
-rw-r--r--multimedia/gst-plugins-ugly/gst-plugins-ugly.SlackBuild6
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 4107fd0636..cebcc44ebe 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 \