next;
}
$arg =~ s|\\|/|g; # compensate for bug/feature in cygwin glob...
+ $arg = qq("$arg") if ($arg =~ /\s/); # compensate for bug in 5.10...
foreach (glob $arg)
{
push @filelist, $_;
}
$dest = pop @filelist;
-
+
if ($fnum > 2 && ! -d $dest)
{
die "Destination must be a directory";
close(OUT);
print "Copying: $_ to $dfile\n";
}
-
+