-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FAB-4819] Fix locating system packages in vendoring
This patchset fixes some bugs addressed in [FAB-4819]. When the GOROOT environment variable is not set (i.e. Go is installed in the standard location), Go uses its default value for GOROOT. This patch introduces getGoEnv() to properly get GOROOT by using the "go env" command instead of directly reading an environment variable. This patch also fixes list() to prevent from obtaining empty string in error from the output of the "go list" command. Change-Id: Ie8007087aff40d5f8eab6021e4e184534d3074e4 Signed-off-by: Taku Shimosawa <taku.shimosawa@hal.hitachi.com>
- Loading branch information
Showing
4 changed files
with
67 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters