[builder] changing namespace allocation
This commit is contained in:
@@ -89,8 +89,7 @@ sub add_portage_repository {
|
||||
or $sync_type eq "https"
|
||||
or $sync_type eq "http";
|
||||
$sync_type = "svn" if $repo =~ /\/svn\//;
|
||||
my @reposplit = split( /\//, $repo );
|
||||
my $reponame = $reposplit[-2] . "-" . $reposplit[-1];
|
||||
my $reponame = ( split( /\//, $repo ))[-1];
|
||||
system("mkdir -p /etc/portage/repos.conf/")
|
||||
if ( !-d "/etc/portage/repos.conf/" );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user