From 2abb395d5b0c8cce8e170a46ae24bb849c1e3020 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 25 Sep 2007 17:44:24 +0000 Subject: use --text for diff to avoid just getting "Files ... differ" git-svn-id: svn://tug.org/texlive/trunk@5036 c570f23f-e606-0410-a88d-b1316a301751 --- Build/cdbuild/place | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Build') 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); -- cgit v1.2.3