-Probable fix for bug 1959586, matching wrong module names in searches

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1346 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2008-05-09 21:18:42 +00:00
parent abbedb8e36
commit 710353c1b0

View File

@ -374,7 +374,7 @@ sub isyumdir {
sub isnetdriver {
foreach (@ndrivers) {
if ($File::Find::name =~ /$_/) {
if ($File::Find::name =~ /\/$_/) {
my $filetoadd = $File::Find::name;
$filetoadd =~ s!$installroot/netboot/$osver/$arch/$profile/rootimg/!!;
push @filestoadd,[$filetoadd,"lib/$_"];