-Correct scope of previous code

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4286 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2009-10-02 15:27:59 +00:00
parent 7ccfab5dd3
commit 52a7cd76a3

View File

@ -2033,11 +2033,11 @@ sub mknetboot {
foreach (@reqmods) {
$mods{$_} = 1;
}
my $shortprofname = $profile;
$shortprofname =~ s/\/\z//;
$shortprofname =~ s/.*\///;
unless($donetftp{$osver,$arch}) {
my $srcdir = "$installroot/$osver/$arch";
my $shortprofname = $profile;
$shortprofname =~ s/\/\z//;
$shortprofname =~ s/.*\///;
my $dest = "$tftpdir/xcat/netboot/$osver/$arch/$shortprofname";
cpNetbootImages($osver,$srcdir,$dest,$custprofpath,\%mods);
makecustomizedmod($osver,$dest);