From b6c795a0c8c8934a1ba5638ae1c29cd900363b68 Mon Sep 17 00:00:00 2001 From: Stephan D Date: Sat, 8 Nov 2025 03:30:45 +0100 Subject: [PATCH] fx build fix --- ci/scripts/proto/generate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/scripts/proto/generate.sh b/ci/scripts/proto/generate.sh index eb178f8..ac4a247 100755 --- a/ci/scripts/proto/generate.sh +++ b/ci/scripts/proto/generate.sh @@ -9,7 +9,7 @@ PROTO_DIR="./proto" PROTOC_BIN="${PROTOC:-protoc}" PROTOC_INCLUDE="${PROTOC_INCLUDE:-/usr/include}" if [ ! -f "${PROTOC_INCLUDE}/google/protobuf/timestamp.proto" ]; then - for candidate in /usr/include /usr/local/include /usr/lib/include /usr/local/share/include; do +for candidate in /usr/include /usr/local/include /usr/lib/include /usr/local/share/include "$(dirname "$(command -v protoc)")/../include"; do if [ -f "${candidate}/google/protobuf/timestamp.proto" ]; then PROTOC_INCLUDE="${candidate}" break