summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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