build-style/go.sh: remove dirname usage
This commit is contained in:
parent
7708dac69e
commit
1219c3a3dd
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ do_configure() {
|
||||||
# Skip GOPATH symlink for Go modules
|
# Skip GOPATH symlink for Go modules
|
||||||
msg_normal "Building $pkgname using Go modules.\n"
|
msg_normal "Building $pkgname using Go modules.\n"
|
||||||
elif [[ "${go_get}" != "yes" ]]; then
|
elif [[ "${go_get}" != "yes" ]]; then
|
||||||
mkdir -p "$(dirname ${GOSRCPATH})"
|
mkdir -p ${GOSRCPATH%/*}/
|
||||||
ln -fs $PWD "${GOSRCPATH}"
|
ln -fs $PWD "${GOSRCPATH}"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue