From 93e21a749a0634518fe34c8d96714b6a9952a067 Mon Sep 17 00:00:00 2001 From: Himanshu Soni Date: Tue, 7 Apr 2026 00:27:43 +0530 Subject: [PATCH] fix: use CURDIR for Zoekt build output in Makefile The shell variable PWD is not set by GNU Make and is often empty on Windows, which broke go build -o paths. Use Make built-in CURDIR instead. Fixes #1095 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 46b6865e9..15c4c805f 100644 --- a/Makefile +++ b/Makefile @@ -9,8 +9,8 @@ yarn: zoekt: mkdir -p bin - go build -C vendor/zoekt -o $(PWD)/bin ./cmd/... - export PATH="$(PWD)/bin:$(PATH)" + go build -C vendor/zoekt -o $(CURDIR)/bin ./cmd/... + export PATH="$(CURDIR)/bin:$(PATH)" export CTAGS_COMMANDS=ctags clean: