mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 01:57:12 -05:00
fix proto-gen.sh for macos
This commit is contained in:
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
Block a user