Skip to content

Commit 382a998

Browse files
committed
don't trim operator-sdk dir from trimpath
1 parent 8bab1f9 commit 382a998

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ SHELL=/bin/bash
99
REPO=$(shell go list -m)
1010
BUILD_DIR=$(PWD)/build
1111
GO_BUILD_ARGS = \
12-
-gcflags "all=-trimpath=$(shell pwd)" \
13-
-asmflags "all=-trimpath=$(shell pwd)" \
12+
-gcflags "all=-trimpath=$(shell dirname $(shell pwd))" \
13+
-asmflags "all=-trimpath=$(shell dirname $(shell pwd))" \
1414
-ldflags " \
1515
-X '$(REPO)/internal/version.Version=$(SIMPLE_VERSION)' \
1616
-X '$(REPO)/internal/version.GitVersion=$(GIT_VERSION)' \

0 commit comments

Comments
 (0)