Skip to content

Commit

Permalink
Fixed packaging issue
Browse files Browse the repository at this point in the history
  • Loading branch information
aurelienrb committed Dec 3, 2016
1 parent 9807dbc commit ac8fffd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build_grpc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -172,13 +172,13 @@ function create_grpc_package {
print_info "Preparing package structure '$PCKGDIR'"

mkdir -p $PCKGDIR/bin || exit_failure
cp release/grpc_*_plugin $PCKGDIR/bin/
cp release/third_party/protobuf/protoc $PCKGDIR/bin/
cp grpc_*_plugin $PCKGDIR/bin/
cp third_party/protobuf/protoc $PCKGDIR/bin/

cp -R $GRPCDIR/include/ $PCKGDIR/include/ || exit_failure
# add protobud includes + compiler
mv release/$PROTOBUF_INSTALLDIR/include/* $PCKGDIR/include/ || exit_failure
mv release/$PROTOBUF_INSTALLDIR/bin/* $PCKGDIR/bin/ || exit_failure
mv $PROTOBUF_INSTALLDIR/include/* $PCKGDIR/include/ || exit_failure
mv $PROTOBUF_INSTALLDIR/bin/* $PCKGDIR/bin/ || exit_failure

mkdir -p $PCKGDIR/lib
cp ./*.a $PCKGDIR/lib/
Expand Down

0 comments on commit ac8fffd

Please sign in to comment.