mirror of https://github.com/v2ray/v2ray-core
fix proto-gen.sh for macos
parent
0a9ba3db5c
commit
19c250de20
|
@ -10,7 +10,7 @@ function detect_protoc() {
|
||||||
if [[ "$OSTYPE" == "linux"* ]]; then
|
if [[ "$OSTYPE" == "linux"* ]]; then
|
||||||
echo $GOPATH/src/v2ray.com/core/.dev/protoc/linux/protoc
|
echo $GOPATH/src/v2ray.com/core/.dev/protoc/linux/protoc
|
||||||
elif [[ "$OSTYPE" == "darwin"* ]]; then
|
elif [[ "$OSTYPE" == "darwin"* ]]; then
|
||||||
echo $GOPATH/src/v2ray.com/core/.dev/protoc/linux/protoc
|
echo $GOPATH/src/v2ray.com/core/.dev/protoc/macos/protoc
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue