fix xdcp broken 3552171
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13445 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
bbcf107b6a
commit
5f576615a1
@ -615,12 +615,16 @@ sub process_nodes
|
||||
{
|
||||
# have to change each file path and add the SNsynfiledir
|
||||
# except the last entry which is the destination on the computenode
|
||||
# skip flags
|
||||
my $args = $newSNreq->{arg};
|
||||
my $arraysize = @$args;
|
||||
my $i = 0;
|
||||
foreach my $sarg (@$args) {
|
||||
if ($arraysize > 1) {
|
||||
if (($sarg !~ /^-/) && ( $sarg !~ /^\//)) { # just a flag, skip
|
||||
if ($sarg =~ /^-/) { # just a flag, skip
|
||||
$arraysize--;
|
||||
$i++;
|
||||
} else {
|
||||
my $tmpfile =$synfiledir ;
|
||||
$tmpfile .=$newSNreq->{arg}->[$i] ;
|
||||
$newSNreq->{arg}->[$i] = $tmpfile;
|
||||
|
Loading…
Reference in New Issue
Block a user