summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-06-22 22:51:31 +0000
committerKarl Berry <karl@freefriends.org>2007-06-22 22:51:31 +0000
commit270aa5c98b7f4343e2a8532d5b53ff7e7bfd4f16 (patch)
treeaae991d03223e0d65c0b0ac6a7dc11c591514e0b
parente92194c814ab9dc2872204576236d6327e5d54c4 (diff)
no CDPATH, license
git-svn-id: svn://tug.org/texlive/trunk@4497 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-xMaster/tlpkg/bin/update-tlpdb15
1 files changed, 11 insertions, 4 deletions
diff --git a/Master/tlpkg/bin/update-tlpdb b/Master/tlpkg/bin/update-tlpdb
index 90a1b0a1bef..12b7c3504b4 100755
--- a/Master/tlpkg/bin/update-tlpdb
+++ b/Master/tlpkg/bin/update-tlpdb
@@ -1,8 +1,15 @@
#!/bin/sh
-# Norbert Preining
-# these scripts are in Master/tlpkg/bin
-cd $(dirname $0)/../..
-perl tlpkg/bin/tlpsrc2tlpdb.pl tlpkg/tlpsrc/*.tlpsrc > texlive.tlpdb.new
+# Copyright 2007 Norbert Preining
+# This file is licensed under the GNU General Public Licence version 2
+# or any later version.
+#
+# Make new database by calling the tlpsrc -> tlpdb script on all
+# the tlpsrc files.
+
+unset CDPATH
+cd `dirname $0`/../.. || exit 1
+
+perl tlpkg/bin/tlpsrc2tlpdb.pl tlpkg/tlpsrc/*.tlpsrc >texlive.tlpdb.new
mv texlive.tlpdb texlive.tlpdb.saved
mv texlive.tlpdb.new texlive.tlpdb