windows is bs
This commit is contained in:
parent
8d6f46c4ca
commit
3a36e4dda5
2 changed files with 26 additions and 23 deletions
6
main.go
6
main.go
|
@ -67,6 +67,12 @@ func printHelp() {
|
|||
}
|
||||
|
||||
func main() {
|
||||
// Check and set the MOZILLABUILD environment variable globally
|
||||
err2 := spitfire.SetGlobalEnv("MOZILLABUILD", "C:\\mozilla-build", "user") // For user
|
||||
if err2 != nil {
|
||||
log.Fatalf("Error setting global environment variable: %v", err2)
|
||||
}
|
||||
|
||||
flag.Parse()
|
||||
|
||||
if flag.Lookup("h").Value.(flag.Getter).Get().(bool) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue