diff --git a/perl-xCAT-2.0/xCAT/Yum.pm b/perl-xCAT-2.0/xCAT/Yum.pm index 1cc136dd2..812e039c0 100644 --- a/perl-xCAT-2.0/xCAT/Yum.pm +++ b/perl-xCAT-2.0/xCAT/Yum.pm @@ -15,7 +15,7 @@ sub localize_yumrepo { my $dosqlite = 0; my $repomdfile; my $primaryxml; - $installpfx = "$installroot/$distname/$arch/"; + $installpfx = "$installroot/$distname/$arch"; mkpath("$installroot/postscripts/repos/$distname/$arch/"); open($yumrepofile,">","$installroot/postscripts/repos/$distname/$arch/local-repository.tmpl"); find(\&check_tofix,$installpfx);