Skip to content

Commit

Permalink
Merge pull request #1528 from hadfl/vagrant
Browse files Browse the repository at this point in the history
vagrant: fix build with go 1.22+
  • Loading branch information
oetiker authored Oct 12, 2024
2 parents 33d232b + 13a5b09 commit bfff7aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/vagrant/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# http://www.illumos.org/license/CDDL.
# }}}

# Copyright 2021 OmniOS Community Edition (OmniOSce) Association.
# Copyright 2024 OmniOS Community Edition (OmniOSce) Association.

. ../../lib/build.sh

Expand Down Expand Up @@ -64,6 +64,7 @@ build() {
GOPATH=$TMPDIR/$BUILDDIR/$PROG-installers/substrate/launcher/_deps
GO111MODULE=auto
export GOPATH GO111MODULE
logcmd go mod init $PROG || logerr "Failed to init go module"
logcmd go get github.com/kardianos/osext \
|| logerr "Get dependency for Vagrant Installers failed"
logcmd go build -o $PROG || logerr "Build Vagrant Installers failed"
Expand Down

0 comments on commit bfff7aa

Please sign in to comment.