fix reuse of variable

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7436 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2010-09-13 13:05:14 +00:00
parent 050e35c2c9
commit 31f5cc6e91
2 changed files with 2 additions and 2 deletions

View File

@ -193,7 +193,7 @@ sub get_filelist
{
my $filename= basename($file); # strip filename
my($name,$ext1) = split '\.', $filename;
my($name,$ext2) = split '\_', $name;
my($tmpname,$ext2) = split '\_', $name;
if ($ext2 eq $dbname) # matches the database
{
push @filelist, $file;

View File

@ -3616,7 +3616,7 @@ sub get_filelist
{
my $filename= basename($file); # strip filename
my($name,$ext1) = split '\.', $filename;
my($name,$ext2) = split '\_', $name;
my($tmpname,$ext2) = split '\_', $name;
if ($ext2 eq $dbname)
{
push @filelist, $file;