diff options
| author | Shulhan <ms@kilabit.info> | 2025-12-20 12:55:52 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2025-12-20 12:58:15 +0700 |
| commit | 89bfa01436e0476b3a9457067599a6f4250dc649 (patch) | |
| tree | faf162f0ea3317fb177d65f0a1f2bcbecf091fef /0002-builds_otel.sh.patch | |
| parent | 3dd76a4b8eb80c32c0c19982028e618f649478b9 (diff) | |
| download | google-cloud-ops-agent-git-89bfa01436e0476b3a9457067599a6f4250dc649.tar.xz | |
all: fix the patch for builds/otel.sh
Diffstat (limited to '0002-builds_otel.sh.patch')
| -rw-r--r-- | 0002-builds_otel.sh.patch | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/0002-builds_otel.sh.patch b/0002-builds_otel.sh.patch index 8f0cdfa..725288d 100644 --- a/0002-builds_otel.sh.patch +++ b/0002-builds_otel.sh.patch @@ -1,15 +1,13 @@ diff --git a/builds/otel.sh b/builds/otel.sh -index bcb48744f..53eb8cd3d 100755 +index 2a02997e5d..cd12d5070f 100755 --- a/builds/otel.sh +++ b/builds/otel.sh -@@ -48,8 +48,8 @@ if [ "$SKIP_OTEL_JAVA" != "true" ]; then +@@ -48,7 +48,7 @@ if [ "$SKIP_OTEL_JAVA" != "true" ]; then fi - cd submodules/opentelemetry-operations-collector/otelopscol --ARCH=$(/usr/local/go/bin/go env GOARCH) --GO_BIN=/usr/local/go/bin/go \ -+ARCH=$(/usr/bin/go env GOARCH) -+GO_BIN=/usr/bin/go \ - BUILDARCH=$ARCH \ - TARGETARCH=$ARCH \ - COLLECTOR_LD_FLAGS="$LDFLAGS" \ + if [ -z "${GO_BIN}" ]; then +- GO_BIN=/usr/local/go/bin/go ++ GO_BIN=/usr/bin/go + fi + ARCH=$($GO_BIN env GOARCH) + |
