summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:43:08 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:43:08 -0400
commitf4de59375195ceaa503917026b4f002e81a9bb4b (patch)
tree011ddcc8d59fc588d708b06a43fec646f535927b
parent9ccd604124358d0b6a6cf03dcde786f38286649c (diff)
downloadslackbuilds-f4de59375195ceaa503917026b4f002e81a9bb4b.tar.gz
network/flvstreamer: Fixed for bash4.
-rw-r--r--network/flvstreamer/flvstreamer.SlackBuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/network/flvstreamer/flvstreamer.SlackBuild b/network/flvstreamer/flvstreamer.SlackBuild
index 4ddad0dfd2..4e93a4f6e2 100644
--- a/network/flvstreamer/flvstreamer.SlackBuild
+++ b/network/flvstreamer/flvstreamer.SlackBuild
@@ -61,10 +61,8 @@ make linux
mkdir -p $PKG/usr/bin
install -m 755 flvstreamer streams rtmpsrv rtmpsuck $PKG/usr/bin
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null || true
-)
+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 COPYING ChangeLog{,.rtmpdump} README $PKG/usr/doc/$PRGNAM-$VERSION