build-style/go.sh: remove dirname usage

This commit is contained in:
maxice8 2019-04-13 17:42:53 -03:00 committed by maxice8
parent 7708dac69e
commit 1219c3a3dd

View File

@ -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
}