From 1219c3a3dd2f72c00617c84788829d931b0c8ff7 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Sat, 13 Apr 2019 17:42:53 -0300 Subject: [PATCH] build-style/go.sh: remove dirname usage --- common/build-style/go.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/build-style/go.sh b/common/build-style/go.sh index 95d588f4d7..98f95bea2e 100644 --- a/common/build-style/go.sh +++ b/common/build-style/go.sh @@ -16,7 +16,7 @@ do_configure() { # Skip GOPATH symlink for Go modules msg_normal "Building $pkgname using Go modules.\n" elif [[ "${go_get}" != "yes" ]]; then - mkdir -p "$(dirname ${GOSRCPATH})" + mkdir -p ${GOSRCPATH%/*}/ ln -fs $PWD "${GOSRCPATH}" fi }