summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-12-26 23:33:50 +0000
committerKarl Berry <karl@freefriends.org>2006-12-26 23:33:50 +0000
commite3bba99884ce591c9485122e96fff7071fc7c112 (patch)
treee028338d1f9c77dc39e0c85a9d2467bd462b877c /Build
parentf9523cf9e9c9a51a7fe6f2830db39e7ab73de1a0 (diff)
rsc is not a single file any more; make
/tmp/tldiff.com to list common files. git-svn-id: svn://tug.org/texlive/trunk@2958 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rwxr-xr-xBuild/tools/ctan2tl11
1 files changed, 4 insertions, 7 deletions
diff --git a/Build/tools/ctan2tl b/Build/tools/ctan2tl
index ef1c2281a99..0e01ef482f0 100755
--- a/Build/tools/ctan2tl
+++ b/Build/tools/ctan2tl
@@ -82,11 +82,6 @@ if echo "$pkg" | egrep "^($latex_tds_pkglist)\$" >/dev/null; then
fi
(cd $pkg && unzip -qq $ctan_root/macros/latex/contrib/latex-tds/$zipname)
-elif test "$pkg" = rsc; then
- # single bst file.
- mkdir -p $pkg
- cp -p $ctan_dir1 $pkg
-
elif test "$pkg" = genmisc; then
# do not copy subdirs, symlinks, or any files but .sty and .tex
# (that is, no patch.doc or pmat.zip).
@@ -148,13 +143,15 @@ else
#
comm -3 /tmp/pkgfiles.new /tmp/pkgfiles.tpm
#
- for common_file in `comm -12 /tmp/pkgfiles.new /tmp/pkgfiles.tpm`; do
+ comm -12 /tmp/pkgfiles.new /tmp/pkgfiles.tpm >/tmp/tldiff.com
+ #
+ for common_file in `cat /tmp/tldiff.com`; do
diff --ignore-all-space -u0 $Master/$common_file $pkg/$common_file
done >/tmp/tldiff
diff_lines=`wc -l </tmp/tldiff`
diff_lines=`expr $diff_lines / 2`
printf "%d common files, ~%d lines different (/tmp/tldiff)\n" \
- `comm -12 /tmp/pkgfiles.new /tmp/pkgfiles.tpm | wc -l` $diff_lines
+ `wc -l </tmp/tldiff.com` $diff_lines
fi
printf "\n\f place $place_chicken\n"