summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"