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:
parent
050e35c2c9
commit
31f5cc6e91
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user