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/branches/2.6@9540 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
daniceexi
2011-05-10 11:34:39 +00:00
parent e236c61cda
commit 9835df7b64
2 changed files with 2 additions and 2 deletions
+1 -1
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);
+1 -1
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);