Use - not _ for lxc enabled build

This commit is contained in:
Michael Schurter
2016-12-15 11:06:03 -08:00
parent ee3c1aa661
commit 8ab7c3ed61

View File

@@ -48,11 +48,11 @@ gox \
echo ""
if pkg-config --exists lxc; then
echo "==> Building linux_amd64_lxc..."
echo "==> Building linux_amd64-lxc..."
go build \
-tags lxc \
-ldflags "-X main.GitCommit='${GIT_COMMIT}${GIT_DIRTY}+lxc'" \
-o "pkg/linux_amd64_lxc/nomad"
-o "pkg/linux_amd64-lxc/nomad"
else
if [[ "${NOMAD_DEV}" ]]; then
# No lxc in dev mode is no problem