We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 092df4d + da7af24 commit bdf05b6Copy full SHA for bdf05b6
govc/build.sh
@@ -8,8 +8,9 @@ git_version=$(git describe --dirty)
8
exit 1
9
fi
10
11
+PROGRAM_NAME=govc
12
PROJECT_PKG="github.com/vmware/govmomi"
-PROGRAM_PKG="${PROJECT_PKG}/$(basename "$(dirname "${0}")")"
13
+PROGRAM_PKG="${PROJECT_PKG}/${PROGRAM_NAME}"
14
15
export LDFLAGS="-w -X ${PROGRAM_PKG}/version.gitVersion=${git_version}"
16
export BUILD_OS="${BUILD_OS:-darwin linux windows freebsd}"
0 commit comments