Repository: mesos Updated Branches: refs/heads/master b1ae83704 -> 01ca009af
Fixed sed command for Python protos generation. The current command didn't complete the protobuf generation and resulted in an empty file. Review: https://reviews.apache.org/r/39002 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/5d246ce4 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/5d246ce4 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/5d246ce4 Branch: refs/heads/master Commit: 5d246ce4e2d40b2c417b1fb4c73965f8958f9d14 Parents: b1ae837 Author: Isabel Jimenez <[email protected]> Authored: Wed Oct 14 15:29:40 2015 +0200 Committer: Joris Van Remoortere <[email protected]> Committed: Wed Oct 14 15:45:19 2015 +0200 ---------------------------------------------------------------------- src/Makefile.am | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/5d246ce4/src/Makefile.am ---------------------------------------------------------------------- diff --git a/src/Makefile.am b/src/Makefile.am index 4a0eeb8..347cd93 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -411,35 +411,35 @@ python/interface/src/mesos/interface/containerizer_pb2.py: \ $(PROTOC) -I$(top_srcdir)/include/mesos/containerizer \ $(PROTOCFLAGS) \ --python_out=python/interface/src/mesos/interface $^ - sed -e 's/mesos\.mesos_pb2/mesos_pb2/' <$@ >$@ + sed -i 's/mesos\.mesos_pb2/mesos_pb2/' $@ python/interface/src/mesos/interface/scheduler_pb2.py: $(SCHEDULER_PROTO) $(MKDIR_P) $(@D) $(PROTOC) -I$(top_srcdir)/include/mesos/scheduler \ $(PROTOCFLAGS) \ --python_out=python/interface/src/mesos/interface $^ - sed -e 's/mesos\.mesos_pb2/mesos_pb2/' <$@ >$@ + sed -i 's/mesos\.mesos_pb2/mesos_pb2/' $@ python/interface/src/mesos/v1/interface/scheduler_pb2.py: $(V1_SCHEDULER_PROTO) $(MKDIR_P) $(@D) $(PROTOC) -I$(top_srcdir)/include/mesos/v1/scheduler \ $(PROTOCFLAGS) \ --python_out=python/interface/src/mesos/v1/interface $^ - sed -e 's/mesos\.mesos_pb2/mesos_pb2/' <$@ >$@ + sed -i 's/mesos\.mesos_pb2/mesos_pb2/' $@ python/interface/src/mesos/interface/executor_pb2.py: $(EXECUTOR_PROTO) $(MKDIR_P) $(@D) $(PROTOC) -I$(top_srcdir)/include/mesos/executor \ $(PROTOCFLAGS) \ --python_out=python/interface/src/mesos/interface $^ - sed -e 's/mesos\.mesos_pb2/mesos_pb2/' <$@ >$@ + sed -i 's/mesos\.mesos_pb2/mesos_pb2/' $@ python/interface/src/mesos/v1/interface/executor_pb2.py: $(V1_EXECUTOR_PROTO) $(MKDIR_P) $(@D) $(PROTOC) -I$(top_srcdir)/include/mesos/v1/executor \ $(PROTOCFLAGS) \ --python_out=python/interface/src/mesos/v1/interface $^ - sed -e 's/mesos\.mesos_pb2/mesos_pb2/' <$@ >$@ + sed -i 's/mesos\.mesos_pb2/mesos_pb2/' $@ # We even use a convenience library for most of Mesos so that we can # exclude third party libraries so setuptools/distribute can build a
