Skip to content

Commit 44773e0

Browse files
committed
check processor on OSX too
1 parent 666ce67 commit 44773e0

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

perl/devkitARMupdate.pl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@
6262
$downloader = "wget -q";
6363
$archname = $arch . "-linux";
6464
}
65-
elsif($os eq "Darwin")
65+
elsif($os eq "Darwin" and ($arch eq "i686" or $arch eq "x86_64"))
6666
{
6767
$downloader = "curl -L -O -s";
68-
$archname = "osx";
68+
$archname = "i386-osx";
6969
}
7070
else
7171
{

perl/devkitPPCupdate.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
$downloader = "wget -q";
6363
$archname = $arch . "-linux";
6464
}
65-
elsif($os eq "Darwin" and $arch eq "i386")
65+
elsif($os eq "Darwin" and ($arch eq "i686" or $arch eq "x86_64"))
6666
{
6767
$downloader = "curl -L -O -s";
6868
$archname = "i386-osx";

0 commit comments

Comments
 (0)