File tree Expand file tree Collapse file tree 3 files changed +3
-57
lines changed
Expand file tree Collapse file tree 3 files changed +3
-57
lines changed Original file line number Diff line number Diff line change 2525# -----------------------------------------------------------------------------
2626 use strict;
2727
28- my $dir = " $ENV {HOME}/devkitPro " ;
28+ my $dir = " /opt/devkitpro " ;
2929 my $downloader ;
3030 my $archname ;
3131
32- if ($ENV {" DEVKITPRO" } ne " " )
33- {
34- $dir = $ENV {" DEVKITPRO" };
35- }
36-
37- if ($#ARGV eq 0)
38- {
39- $dir = $ARGV [0];
40- }
41-
42- # Ensure full pathname
43- if (!($dir =~ / ^\/ / ))
44- {
45- my $pwd = ` pwd` ;
46- chomp ($pwd );
47- $dir = " $pwd /$dir " ;
48- }
49-
5032 printf (" devkitA64 Updater/Installer\n " );
5133 printf (" Installing to %s \n " , $dir );
5234
Original file line number Diff line number Diff line change 2525# -----------------------------------------------------------------------------
2626 use strict;
2727
28- my $dir = " $ENV {HOME}/devkitPro " ;
28+ my $dir = " /opt/devkitpro " ;
2929 my $downloader ;
3030 my $archname ;
3131
32- if ($ENV {" DEVKITPRO" } ne " " )
33- {
34- $dir = $ENV {" DEVKITPRO" };
35- }
36-
37- if ($#ARGV eq 0)
38- {
39- $dir = $ARGV [0];
40- }
41-
42- # Ensure full pathname
43- if (!($dir =~ / ^\/ / ))
44- {
45- my $pwd = ` pwd` ;
46- chomp ($pwd );
47- $dir = " $pwd /$dir " ;
48- }
49-
5032 printf (" devkitARM Updater/Installer\n " );
5133 printf (" Installing to %s \n " , $dir );
5234
Original file line number Diff line number Diff line change 2525# -----------------------------------------------------------------------------
2626 use strict;
2727
28- my $dir = " $ENV {HOME}/devkitPro " ;
28+ my $dir = " /opt/devkitpro " ;
2929 my $downloader ;
3030 my $archname ;
3131
32- if ($ENV {" DEVKITPRO" } ne " " )
33- {
34- $dir = $ENV {" DEVKITPRO" };
35- }
36-
37- if ($#ARGV eq 0)
38- {
39- $dir = $ARGV [0];
40- }
41-
42- # Ensure full pathname
43- if (!($dir =~ / ^\/ / ))
44- {
45- my $pwd = ` pwd` ;
46- chomp ($pwd );
47- $dir = " $pwd /$dir " ;
48- }
49-
5032 printf (" devkitPPC Updater/Installer\n " );
5133 printf (" Installing to %s \n " , $dir );
5234
You can’t perform that action at this time.
0 commit comments