We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ebdb4c commit 6b94cffCopy full SHA for 6b94cff
cmd/bashbrew/main.go
@@ -168,6 +168,11 @@ func main() {
168
constraints = c.GlobalStringSlice("constraint")
169
exclusiveConstraints = c.GlobalBool("exclusive-constraints")
170
171
+ if arch == "" {
172
+ // weird edge case... ("BASHBREW_ARCH=")
173
+ arch = manifest.DefaultArchitecture
174
+ }
175
+
176
var ok bool
177
if ociArch, ok = architecture.SupportedArches[arch]; !ok {
178
return fmt.Errorf("invalid architecture: %q", arch)
0 commit comments