synccompare: due to typo it did not compare file against dir (skipped content of dir)
This showed up as verification errors during Client::Source::vcard21::testImport and Client::Source::text::testImport (#2219, #2220).
This commit is contained in:
parent
2e6cfaceba
commit
ea9535034b
|
@ -390,7 +390,7 @@ if($#ARGV > 1) {
|
|||
} else {
|
||||
open(IN1, "<:utf8", $file1) || die "$file1: $!";
|
||||
}
|
||||
if (-d $file1) {
|
||||
if (-d $file2) {
|
||||
open(IN2, "-|:utf8", "find $file2 -type f -print0 | xargs -0 cat") || die "$file2: $!";
|
||||
} else {
|
||||
open(IN2, "<:utf8", $file2) || die "$file2: $!";
|
||||
|
|
Loading…
Reference in a new issue