diff options
| author | Jeff Carr <[email protected]> | 2025-09-03 20:50:44 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-03 20:50:44 -0500 |
| commit | 41851ed5846ca6551cb0a7ab4e82529dd488f8c3 (patch) | |
| tree | b5a54a0c8305116826260d8530f2d03523d824f2 | |
| parent | fda4b5448b7c59ac96de118483189d8059b4268d (diff) | |
a verbose option
| -rw-r--r-- | configureENV.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/configureENV.go b/configureENV.go index 72cc14b..9cf49bc 100644 --- a/configureENV.go +++ b/configureENV.go @@ -29,6 +29,18 @@ import ( // err # if everything goes wrong, the error // +func ConfigureVerboseENV() error { + err := ConfigureENV() + log.Printf("FORGE_CONFIG = %s\n", os.Getenv("FORGE_CONFIG")) + log.Printf("FORGE_GOSRC = %s\n", os.Getenv("FORGE_GOSRC")) + log.Printf("FORGE_GOWORK = %v\n", os.Getenv("FORGE_GOWORK")) + log.Printf("FORGE_REPOPB = %s\n", os.Getenv("FORGE_REPOPB")) + log.Printf("FORGE_URL = %s\n", os.Getenv("FORGE_URL")) + log.Printf("FORGE_PATCHDIR = %s\n", os.Getenv("FORGE_PATCHDIR")) + log.Printf("HOSTNAME = %s\n", os.Getenv("HOSTNAME")) + return err +} + // set the ENV vars // always set them to _something_ even when everything seems to be failing func ConfigureENV() error { |
