-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce GBB_PATH and support UROOT_SOURCE
GBB_PATH allows providing directories in which to look for Go commands. For example, GBB_PATH=$HOME/u-root and pattern=[cmds/core/init, cmds/core/ip] will look for Go commands in $HOME/u-root/cmds/core/init and $HOME/u-root/cmds/core/ip. Multiple GBB_PATHs can be given; they must be colon-separated. UROOT_SOURCE is supported to provide backwards-compatibility with the u-root command line tool which supported the concept. It's similar to GBB_PATH, but special to github.com/u-root/u-root. Signed-off-by: Chris Koch <chrisko@google.com>
- Loading branch information
Showing
3 changed files
with
282 additions
and
85 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
Oops, something went wrong.