We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28da4db commit c6ba491Copy full SHA for c6ba491
faasmctl/bin/gen_proto_files.py
@@ -63,15 +63,15 @@ def gen_proto_files(clean=False):
63
64
# Find the right protoc binary
65
docker_exec_prefix = "docker exec {}".format(tmp_ctr_name)
66
- find_protoc_cmd = "{} bash -c 'find ~/.conan -name protoc'".format(
+ find_protoc_cmd = "{} bash -c 'find ~/.conan2 -name protoc'".format(
67
docker_exec_prefix
68
)
69
protoc_bin = (
70
run(find_protoc_cmd, shell=True, capture_output=True)
71
.stdout.decode("utf-8")
72
.split("\n")
73
74
- p_bin = [p_bin for p_bin in protoc_bin if "build_subfolder" in p_bin]
+ p_bin = [p_bin for p_bin in protoc_bin if "bin" in p_bin]
75
p_bin = p_bin[0].strip()
76
77
# Generate python protobuf files
0 commit comments