From ffda86e6e4ecee3bb1c9dbcc33caa7209c4cb352 Mon Sep 17 00:00:00 2001
From: Massimiliano Adamo <massimiliano.adamo@geant.org>
Date: Sun, 11 Apr 2021 15:59:04 +0200
Subject: [PATCH] minor

---
 build-windows-amd64.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build-windows-amd64.sh b/build-windows-amd64.sh
index 2102348..bdcadf0 100755
--- a/build-windows-amd64.sh
+++ b/build-windows-amd64.sh
@@ -15,7 +15,7 @@ if [ "$REPO_DIR" = '.' ]; then
 fi
 ln -sf "$REPO_DIR" "${GOPATH}/src/"
 REPO_NAME=$(basename "$REPO_DIR")
-cd $REPO_NAME
+cd "${GOPATH}/src/$REPO_NAME"
 
 # env GOOS=windows GOARCH=amd64 go build -ldflags "-s -w -X main.appVersion=${PROG_VERSION} -X main.buildTime=${BUILDTIME}" .
 env GOOS=windows GOARCH=amd64 go get -ldflags "-s -w -X main.appVersion=${PROG_VERSION} -X main.buildTime=${BUILDTIME}" .
-- 
GitLab