Commit e1e27811 authored by Péter Szilágyi's avatar Péter Szilágyi

build: fix setting env var, temp early exit

parent 2166c860
...@@ -721,6 +721,7 @@ func doDebianSource(cmdline []string) { ...@@ -721,6 +721,7 @@ func doDebianSource(cmdline []string) {
if *upload != "" { if *upload != "" {
ppaUpload(*workdir, *upload, *sshUser, []string{source, dsc, changes, buildinfo}) ppaUpload(*workdir, *upload, *sshUser, []string{source, dsc, changes, buildinfo})
} }
return
} }
} }
} }
......
...@@ -20,7 +20,7 @@ override_dh_auto_build: ...@@ -20,7 +20,7 @@ override_dh_auto_build:
# We're also shipping the bootstrapper as of Go 1.20 as it had minimum version # We're also shipping the bootstrapper as of Go 1.20 as it had minimum version
# requirements opposed to older versions of Go. # requirements opposed to older versions of Go.
(mv .goboot ../ && cd ../.goboot/src && ./make.bash) (mv .goboot ../ && cd ../.goboot/src && ./make.bash)
(cd ../.goboot/bin && export GOROOT_BOOTSTRAP=`pwd`) export GOROOT_BOOTSTRAP=`pwd`/../.goboot/bin
(mv .go ../ && cd ../.go/src && ./make.bash) (mv .go ../ && cd ../.go/src && ./make.bash)
# We can't download external go modules within Launchpad, so we're shipping the # We can't download external go modules within Launchpad, so we're shipping the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment