blob: 7756de3556d5735a32f76ba82f312d8b59f2077e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/sh
# $Id: //depot/Master/Tools/update-lsr#1 $ $Date: 2005/06/28 $ $Author: karl $
# 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`
# 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'
|