Skip to content

Commit

Permalink
Use - not _ for lxc enabled build
Browse files Browse the repository at this point in the history
  • Loading branch information
schmichael committed Dec 15, 2016
1 parent ee3c1aa commit 8ab7c3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8ab7c3e

Please sign in to comment.