Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: ensure gengodep uses vendor dir if present
In a previous PR, initialization of the `srcdir` varible was removed from `makeit/gengodep`. However, the `gengodep` script was still using `srcdir` when checking for a `${srcdir}/vendor/modules.txt`. sylabs@48e7fab As a result, the vendor dir is never found, and `go` was run with `-mod=readonly`, which would lead to downloads. Since go 1.14 the presence of a vendor dir infers `-mod=vendor` automatically, so we can just remove the handling here. Fixes sylabs#461
- Loading branch information