Unverified Commit 2e468e7b authored by boklm's avatar boklm
Browse files

Bug 28310: don't build obfs4 with module versioning support

parent 3e75d4bb
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -16,6 +16,12 @@ mkdir -p /var/tmp/build
tar -C /var/tmp/build -xf [% project %]-[% c('version') %].tar.gz
cd /var/tmp/build/[% project %]-[% c('version') %]

[% IF c("var/nightly") -%]
  # Remove go.mod and go.sum files until we can build using Go module
  # versioning (see bug 28325).
  rm -f go.mod go.sum
[% END -%]

mkdir -p "$GOPATH/src/git.torproject.org/pluggable-transports"
ln -sf "$PWD" "$GOPATH/src/git.torproject.org/pluggable-transports/obfs4.git"
cd obfs4proxy