summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xBuild/cdbuild/place6
1 files changed, 3 insertions, 3 deletions
diff --git a/Build/cdbuild/place b/Build/cdbuild/place
index a7229221cc7..9e22e4a0a67 100755
--- a/Build/cdbuild/place
+++ b/Build/cdbuild/place
@@ -47,9 +47,9 @@ xchdir ("$mydir/$package");
if (-d "texmf-dist") {$Root="texmf-dist"; }
elsif (-d "texmf-doc") {$Root="texmf-doc"; }
elsif (-d "texmf") {$Root="texmf"; }
+else { die ("no top level texmf in " . `pwd`); }
-# I moved this test BEFORE any action. For now I want this script ONLY to
-# work with Documentation/Package and NOT with anything else!!! [np]
+# can't handle binary stuff yet.
if ($Root eq 'texmf-doc') {
$Type = 'Documentation';
} elsif ($Root eq 'texmf-dist') {
@@ -119,7 +119,7 @@ if (!defined($tlpold)) {
chomp (@difffiles);
my $sum = 0;
unlink ("$TMP/tlplace.diff");
- my $diff_cmd = "diff --ignore-all-space -U 0 -s";
+ my $diff_cmd = "diff --text --ignore-all-space -U 0 -s";
foreach (@difffiles) {
my @foo = `$diff_cmd $M/$_ $mydir/$package/$_ | tee -a $TMP/tlplace.diff`;
$sum += ($#foo);