[builder] changing namespace allocation

This commit is contained in:
mudler
2016-05-16 00:18:34 +02:00
parent 31d3bca34b
commit 6bcf4abfee
+1 -2
View File
@@ -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/" );