From 947536e9afd7dc0c9709be5f5e8d6ec89d89ed1c Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Sat, 22 Jul 2006 00:58:33 +0000 Subject: [PATCH] pull up r18243 from trunk r18243@cathode-dark-space: tlyu | 2006-06-27 18:01:22 -0400 ticket: new tags: pullup target_version: 1.5 subject: mkrel should only generate doc/CHANGES for checkouts * src/util/mkrel: Only write doc/CHANGES if doing a checkout. This makes nightly snapshots saner. ticket: 3945 git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@18378 dc483132-0cff-0310-8789-dd5450dbe970 --- src/util/mkrel | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/util/mkrel b/src/util/mkrel index e8b2be29f..2384b7dee 100755 --- a/src/util/mkrel +++ b/src/util/mkrel @@ -146,7 +146,9 @@ if test $newstyle = t; then sed -e '/RELDATE/c\ #define KRB5_RELDATE "'"$reldate"'"' patchlevel.h > patchlevel.h.new && \ mv patchlevel.h.new patchlevel.h) - (cd $reldir && svn log -v $repository/$reltag > doc/CHANGES) + if test $checkout = t; then + (cd $reldir && svn log -v $repository/$reltag > doc/CHANGES) + fi else (cd $reldir/src/lib/krb5/krb && \ -- 2.26.2