aboutsummaryrefslogtreecommitdiff
path: root/misc/protobuf
diff options
context:
space:
mode:
authorDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:40:14 -0400
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-19 02:40:14 -0400
commit37d6f05c84650dc6a7f57c41dfc8932a8e63d1d7 (patch)
treebe53a76c3746e01648abdd4ce1daf5584e0bceea /misc/protobuf
parentd4c8a270a80994e6e482086876a4030b63fa43af (diff)
misc/protobuf: Fixed for bash4.
Diffstat (limited to 'misc/protobuf')
-rw-r--r--misc/protobuf/protobuf.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/misc/protobuf/protobuf.SlackBuild b/misc/protobuf/protobuf.SlackBuild
index 8c76bfed48a5..be94d708977e 100644
--- a/misc/protobuf/protobuf.SlackBuild
+++ b/misc/protobuf/protobuf.SlackBuild
@@ -54,12 +54,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 || true
- find . | xargs file | grep "shared object" | 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 \