summaryrefslogtreecommitdiff
path: root/Build/cdbuild/Check
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2005-12-27 23:56:17 +0000
committerKarl Berry <karl@freefriends.org>2005-12-27 23:56:17 +0000
commit577983747d8680b8defbfdd03a9d50bad6fd54b7 (patch)
tree16b160f53c6c4c309c07db2c5b095d3abb16f69a /Build/cdbuild/Check
parent07fed0169bae91dfb5616f9d19e7969727e19d4d (diff)
initial Build
git-svn-id: svn://tug.org/texlive/trunk@4 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/cdbuild/Check')
-rw-r--r--Build/cdbuild/Check27
1 files changed, 27 insertions, 0 deletions
diff --git a/Build/cdbuild/Check b/Build/cdbuild/Check
new file mode 100644
index 00000000000..ed4bee39608
--- /dev/null
+++ b/Build/cdbuild/Check
@@ -0,0 +1,27 @@
+rm files.*
+R=/texlive/Master
+:>files.lists.x
+for i in `find $R/texmf/lists -type f `
+do
+ grep -v "^/" $i | awk '{print $1}' >> files.lists.x
+done
+sort < files.lists.x | uniq | awk '{print $1}' | sed '/^$/d' > files.lists
+sort < files.lists.x | awk '{print $1}' | sed '/^$/d' > files.lists.all
+diff files.lists files.lists.all | grep ">" > files.lists.dupl
+rm files.lists.x
+P=`pwd`
+(cd $R; find texmf -type f >> $P/files.find.x)
+(cd $R; find texmf-doc -type l >> $P/files.find.x)
+(cd $R; find texmf-doc -type f >> $P/files.find.x)
+(cd $R; find texmf-dist -type l >> $P/files.find.x)
+(cd $R; find texmf-dist -type f >> $P/files.find.x)
+(cd $R; find bin -type l >> $P/files.find.x)
+(cd $R; find bin -type f >> $P/files.find.x)
+(cd $R; find info -type f >> $P/files.find.x)
+(cd $R; find readme.html >> $P/files.find.x)
+(cd $R; find man -type l >> $P/files.find.x)
+(cd $R; find man -type f >> $P/files.find.x)
+sort < files.find.x > files.find
+rm files.find.x
+comm -23 files.find files.lists > files.find.only
+comm -13 files.find files.lists > files.lists.only