Project: mesos
Issue MESOS-3734: Incorrect sed syntax for Mac OSX
The build currently fails on OSX: {noformat} ../3rdparty/libprocess/3rdparty/protobuf-2.5.0/src/protoc -I../../mesos/include/mesos/containerizer	\	-I../../mesos/include -I../../mesos/src	\	--python_out=python/interface/src/mesos/interface ../../mesos/include/mesos/containerizer/containerizer.proto ../../mesos/install-sh -c -d python/interface/src/mesos/v1/interface sed -i 's/mesos\.mesos_pb2/mesos_pb2/' python/interface/src/mesos/interface/containerizer_pb2.py sed: 1: "python/interface/src/me ...": extra characters at the end of p command make[1]: *** [python/interface/src/mesos/interface/containerizer_pb2.py] Error 1 {noformat} This is because the sed command uses the wrong syntax for OSX: you need {code}sed -i ""{code} to instruct sed to not use a backup file.
Story points: 2