diff options
-rwxr-xr-x | Build/cdbuild/place | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Build/cdbuild/place b/Build/cdbuild/place index 879def5dd03..a7229221cc7 100755 --- a/Build/cdbuild/place +++ b/Build/cdbuild/place @@ -119,12 +119,12 @@ if (!defined($tlpold)) { chomp (@difffiles); my $sum = 0; unlink ("$TMP/tlplace.diff"); - my $diff_cmd = "diff --ignore-all-space -U 0"; + my $diff_cmd = "diff --ignore-all-space -U 0 -s"; foreach (@difffiles) { my @foo = `$diff_cmd $M/$_ $mydir/$package/$_ | tee -a $TMP/tlplace.diff`; - $sum += ($#foo + 1); + $sum += ($#foo); } - my $nrcommfiles = $#difffiles + 1; + my $nrcommfiles = @difffiles; print "$nrcommfiles common files, ~$sum lines different ($TMP/tlplace.diff)\n\n\f\n"; #`rm -f $TMP/tlplace.new $TMP/tlplace.old $TMP/tlplace.diff`; } |