summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/tlcom
blob: 0d93bedfea4249990f29c09789909267045dc351 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/sh
# $Id$
# Commit after TL package update. We rely on PATH to deal with trunk vs.
# branch. (See c2a and c2b.)

test $# -eq 0 && cd /
/bin/pwd >/dev/null || exit 1

msg=`echo "$1" | sed "s/^-m//"`
shift

dirlist=${TMPDIR-/tmp}/`id -u`.tlplace.dirs
tlroot=`tail -n 1 $dirlist | sed 's,/Master.*,,'`
if test ! -d "$tlroot/Master"; then
  echo "$0: failed to get tlroot from $dirlist: $tlroot" >&2
  exit 1
fi
echo "$tlroot"
sleep 1

svn commit -m"$msg" `cat $dirlist` \
  "$tlroot"/Master/tlpkg/bin/tlpkg-ctan-check \
  "$tlroot"/Master/tlpkg/bin/tlpkginfo \
  "$tlroot"/Master/tlpkg/libexec/ctan2tds \
  "$tlroot"/Master/tlpkg/bin/ctan2tl \
  "$tlroot"/Master/tlpkg/bin/c2lx \
  "$tlroot"/Master/tlpkg/tlpsrc/ \
  "$tlroot"/TODO \
  "$@"