diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:40:14 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:40:14 -0400 |
commit | 37d6f05c84650dc6a7f57c41dfc8932a8e63d1d7 (patch) | |
tree | be53a76c3746e01648abdd4ce1daf5584e0bceea /misc/protobuf | |
parent | d4c8a270a80994e6e482086876a4030b63fa43af (diff) |
misc/protobuf: Fixed for bash4.
Diffstat (limited to 'misc/protobuf')
-rw-r--r-- | misc/protobuf/protobuf.SlackBuild | 8 |
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 \ |