allow comments in xdcp rsync input file

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4044 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2009-08-26 14:33:44 +00:00
parent c4d0501e10
commit 3db62d378a

View File

@ -4393,8 +4393,13 @@ sub parse_rsync_input_file_on_MN
while (my $line = <INPUTFILE>)
{
chomp $line;
if ($line =~ /^#/) # skip commments
{
next;
}
if ($line =~ /(.+) -> (.+)/)
{
$process_line = 1;
my $src_file = $1;
my $dest_file = $2;