Skip to content

Commit

Permalink
use fixed path now we have pacman
Browse files Browse the repository at this point in the history
  • Loading branch information
WinterMute committed Mar 24, 2018
1 parent 0b3f42b commit b5cb35c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 57 deletions.
20 changes: 1 addition & 19 deletions perl/devkitA64update.pl
Original file line number Diff line number Diff line change
Expand Up @@ -25,28 +25,10 @@
#-----------------------------------------------------------------------------
use strict;

my $dir = "$ENV{HOME}/devkitPro";
my $dir = "/opt/devkitpro";
my $downloader;
my $archname;

if($ENV{"DEVKITPRO"} ne "")
{
$dir = $ENV{"DEVKITPRO"};
}

if($#ARGV eq 0)
{
$dir = $ARGV[0];
}

# Ensure full pathname
if(!($dir =~ /^\//))
{
my $pwd = `pwd`;
chomp($pwd);
$dir = "$pwd/$dir";
}

printf("devkitA64 Updater/Installer\n");
printf("Installing to %s\n", $dir);

Expand Down
20 changes: 1 addition & 19 deletions perl/devkitARMupdate.pl
Original file line number Diff line number Diff line change
Expand Up @@ -25,28 +25,10 @@
#-----------------------------------------------------------------------------
use strict;

my $dir = "$ENV{HOME}/devkitPro";
my $dir = "/opt/devkitpro";
my $downloader;
my $archname;

if($ENV{"DEVKITPRO"} ne "")
{
$dir = $ENV{"DEVKITPRO"};
}

if($#ARGV eq 0)
{
$dir = $ARGV[0];
}

# Ensure full pathname
if(!($dir =~ /^\//))
{
my $pwd = `pwd`;
chomp($pwd);
$dir = "$pwd/$dir";
}

printf("devkitARM Updater/Installer\n");
printf("Installing to %s\n", $dir);

Expand Down
20 changes: 1 addition & 19 deletions perl/devkitPPCupdate.pl
Original file line number Diff line number Diff line change
Expand Up @@ -25,28 +25,10 @@
#-----------------------------------------------------------------------------
use strict;

my $dir = "$ENV{HOME}/devkitPro";
my $dir = "/opt/devkitpro";
my $downloader;
my $archname;

if($ENV{"DEVKITPRO"} ne "")
{
$dir = $ENV{"DEVKITPRO"};
}

if($#ARGV eq 0)
{
$dir = $ARGV[0];
}

# Ensure full pathname
if(!($dir =~ /^\//))
{
my $pwd = `pwd`;
chomp($pwd);
$dir = "$pwd/$dir";
}

printf("devkitPPC Updater/Installer\n");
printf("Installing to %s\n", $dir);

Expand Down

0 comments on commit b5cb35c

Please sign in to comment.