fix getpostscript.pm call (noversion)

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16382 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2013-05-21 18:11:46 +00:00
parent 607866fb4a
commit fb453010c4

View File

@ -460,7 +460,8 @@ sub makescript {
undef(%::GLOBAL_SN_HASH);
undef(%::GLOBAL_TABDUMP_HASH);
if ((defined($nofiles)) &&($nofiles == 1)){ # return array
return \$inc;
my @scriptd = grep { /\S/ } split(/\n/,$inc);
return @scriptd;
} else { # files were created
return 0;
}