diff options
author | Karl Berry <karl@freefriends.org> | 2006-02-13 00:49:47 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-02-13 00:49:47 +0000 |
commit | 045f872c421bb96d9e680ccd7f79c823cef10521 (patch) | |
tree | 20483574ec8846ce1adb25e905f4a0b4e2505a41 /Build/tools/update-lsr | |
parent | a1e47d103e66e2a947105dd7378e8df3918c3f62 (diff) |
move Master/Tools to Build/tools
git-svn-id: svn://tug.org/texlive/trunk@1514 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/tools/update-lsr')
-rwxr-xr-x | Build/tools/update-lsr | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Build/tools/update-lsr b/Build/tools/update-lsr new file mode 100755 index 00000000000..de700f81cbd --- /dev/null +++ b/Build/tools/update-lsr @@ -0,0 +1,22 @@ +#!/bin/sh +# $Id$ +# Originally written 2004, Karl Berry. Public domain. +# +# Update ls-R files. Called from tlrebuild and also karl@tug's cron. + +mydir=`dirname $0` +tools=`cd $mydir && pwd` +PATH=$tools:$PATH; export PATH +umask 0 + +master=`cd $mydir/.. && pwd` +cd $master || exit 1 + +# generate new. +./bin/i386-linux/mktexlsr + +# if texmf-var exists, it's not part of the distribution. +test -f texmf-var/ls-R && svn revert texmf-var/ls-R + +# if we have changes, submit to repository (frightening but necessary). +svn commit -m'update-lsr autoupdate' texmf*/ls-R |