aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGreg Steuck <greg@nest.cx>2020-07-06 21:37:50 -0700
committerDmitry Vyukov <dvyukov@google.com>2020-07-07 07:28:07 +0200
commit4272335555c7a9d8e2339e18da7e17a8570695b2 (patch)
tree990cf3bfdf4ac2ab5e70322f878ce6cd207ca13a /Makefile
parentef278c737f9a393f2d22adf1f1e1e4325d4d190c (diff)
Makefile: avoid non-portable realpath
pwd -P works great and is portable. This fixes OpenBSD ci.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2b7fd2668..f386ef849 100644
--- a/Makefile
+++ b/Makefile
@@ -51,7 +51,7 @@ export CGO_ENABLED
TARGETGOOS := $(TARGETOS)
TARGETGOARCH := $(TARGETVMARCH)
export GO111MODULE=on
-export GOBIN=$(shell realpath .)/bin
+export GOBIN=$(shell pwd -P)/bin
GITREV=$(shell git rev-parse HEAD)
ifeq ("$(shell git diff --shortstat)", "")