summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-09-25 17:44:24 +0000
committerKarl Berry <karl@freefriends.org>2007-09-25 17:44:24 +0000
commit2abb395d5b0c8cce8e170a46ae24bb849c1e3020 (patch)
treee21b4d9b994f35026db426d6aadf905dc579800c
parentb5bfe8dfcc30a30fa5bf455ca7d46b15217e327c (diff)
use --text for diff to avoid just getting "Files ... differ"
git-svn-id: svn://tug.org/texlive/trunk@5036 c570f23f-e606-0410-a88d-b1316a301751
-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);