defect 3297886: fix the issue that handling the variable in the dir of statemnt attribute

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9539 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
daniceexi 2011-05-10 11:32:51 +00:00
parent 27c4bcbbe4
commit 45372b5a4b
2 changed files with 2 additions and 2 deletions

View File

@ -579,7 +579,7 @@ sub mknetboot
}
if(grep /\$|#CMD/, $dir) {
$dir = xCAT::SvrUtils->subVars($dir, $node, 'dir', $callback);
$dir = ~ s/\/\//\//g;
$dir =~ s/\/\//\//g;
}
if($server) {
$server = xCAT::SvrUtils->subVars($server, $node, 'server', $callback);

View File

@ -395,7 +395,7 @@ sub mknetboot
}
if(grep /\$|#CMD/, $dir) {
$dir = xCAT::SvrUtils->subVars($dir, $node, 'dir', $callback);
$dir = ~ s/\/\//\//g;
$dir =~ s/\/\//\//g;
}
if($server) {
$server = xCAT::SvrUtils->subVars($server, $node, 'server', $callback);