@@ -127,19 +127,19 @@ func (tr *ToolRelease) RuntimeProperties() *properties.Map {
127
127
}
128
128
129
129
var (
130
- regexpLinuxArm = regexp .MustCompile ("arm.*-linux-gnueabihf" )
131
- regexpLinuxArm64 = regexp .MustCompile ("(aarch64|arm64)-linux-gnu" )
130
+ regexpLinuxArm = regexp .MustCompile ("arm.*-linux-gnueabihf" )
131
+ regexpLinuxArm64 = regexp .MustCompile ("(aarch64|arm64)-linux-gnu" )
132
132
regexpLinuxRiscv64 = regexp .MustCompile ("riscv64-linux-gnu" )
133
- regexpLinux64 = regexp .MustCompile ("x86_64-.*linux-gnu" )
134
- regexpLinux32 = regexp .MustCompile ("i[3456]86-.*linux-gnu" )
135
- regexpWindows32 = regexp .MustCompile ("i[3456]86-.*(mingw32|cygwin)" )
136
- regexpWindows64 = regexp .MustCompile ("(amd64|x86_64)-.*(mingw32|cygwin)" )
137
- regexpMac64 = regexp .MustCompile ("x86_64-apple-darwin.*" )
138
- regexpMac32 = regexp .MustCompile ("i[3456]86-apple-darwin.*" )
139
- regexpMacArm64 = regexp .MustCompile ("arm64-apple-darwin.*" )
140
- regexpFreeBSDArm = regexp .MustCompile ("arm.*-freebsd[0-9]*" )
141
- regexpFreeBSD32 = regexp .MustCompile ("i?[3456]86-freebsd[0-9]*" )
142
- regexpFreeBSD64 = regexp .MustCompile ("amd64-freebsd[0-9]*" )
133
+ regexpLinux64 = regexp .MustCompile ("x86_64-.*linux-gnu" )
134
+ regexpLinux32 = regexp .MustCompile ("i[3456]86-.*linux-gnu" )
135
+ regexpWindows32 = regexp .MustCompile ("i[3456]86-.*(mingw32|cygwin)" )
136
+ regexpWindows64 = regexp .MustCompile ("(amd64|x86_64)-.*(mingw32|cygwin)" )
137
+ regexpMac64 = regexp .MustCompile ("x86_64-apple-darwin.*" )
138
+ regexpMac32 = regexp .MustCompile ("i[3456]86-apple-darwin.*" )
139
+ regexpMacArm64 = regexp .MustCompile ("arm64-apple-darwin.*" )
140
+ regexpFreeBSDArm = regexp .MustCompile ("arm.*-freebsd[0-9]*" )
141
+ regexpFreeBSD32 = regexp .MustCompile ("i?[3456]86-freebsd[0-9]*" )
142
+ regexpFreeBSD64 = regexp .MustCompile ("amd64-freebsd[0-9]*" )
143
143
)
144
144
145
145
func (f * Flavor ) isExactMatchWith (osName , osArch string ) bool {
0 commit comments