summaryrefslogtreecommitdiff
path: root/Build/tools
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-10-10 22:43:01 +0000
committerKarl Berry <karl@freefriends.org>2007-10-10 22:43:01 +0000
commit18a36952e10ee876713c1e1553ad7da6a6126683 (patch)
treec22dcd84b7f9cfd83f4d49b3c69c35f7d35aa923 /Build/tools
parentede5dcdd3540549f0f9bc5ba9ec169ddfc85dfbf (diff)
exit if no svnlog file
git-svn-id: svn://tug.org/texlive/trunk@5157 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/tools')
-rwxr-xr-xBuild/tools/svnchangelog3
1 files changed, 2 insertions, 1 deletions
diff --git a/Build/tools/svnchangelog b/Build/tools/svnchangelog
index 55bb08544a3..abcee86da9d 100755
--- a/Build/tools/svnchangelog
+++ b/Build/tools/svnchangelog
@@ -12,8 +12,9 @@ chicken=${OVERRIDE_CHICKEN-false}
# to get started, ran svn log and put the first thousand changes in log.
mydir=`dirname $0` # Build/tools
-outdir=`cd $mydir/../cdbuild/logs && pwd`
+outdir=`cd $mydir/../logs && pwd`
outfile=$outdir/svnlog
+test ! -f $outfile || exit 2 # error probably given by the cd
# get the revision number we last logged
line=`grep '^r[0-9]' $outfile | head -1 | sed 's/^r//'`