Skip to content

Commit f959b45

Browse files
authored
Fix typo in mac installer generation script (#7917)
1 parent 5df4f90 commit f959b45

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Microsoft.DotNet.Build.Tasks.Installers/src/GenerateMacOSDistributionFile.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public override bool Execute()
4242

4343
var archScriptContent = @"<![CDATA[
4444
function IsX64Machine() {
45-
var machine = system.sysctl(""hw.foo"");
45+
var machine = system.sysctl(""hw.machine"");
4646
var cputype = system.sysctl(""hw.cputype"");
4747
var cpu64 = system.sysctl(""hw.cpu64bit_capable"");
4848
system.log(""Machine type: "" + machine);

0 commit comments

Comments
 (0)