diff options
author | Karl Berry <karl@freefriends.org> | 2007-10-10 22:43:01 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-10-10 22:43:01 +0000 |
commit | 18a36952e10ee876713c1e1553ad7da6a6126683 (patch) | |
tree | c22dcd84b7f9cfd83f4d49b3c69c35f7d35aa923 | |
parent | ede5dcdd3540549f0f9bc5ba9ec169ddfc85dfbf (diff) |
exit if no svnlog file
git-svn-id: svn://tug.org/texlive/trunk@5157 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-x | Build/tools/svnchangelog | 3 |
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//'` |