From ca36b36423b57ed569167cd269f7e15e03a7ea2b Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Sat, 12 Apr 2014 18:58:05 +0000 Subject: [PATCH] Added a check for a recent test crawler log to the mkrelease script. - Legacy-Id: 7603 --- bin/mkrelease | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/mkrelease b/bin/mkrelease index dd312e705..43e278f58 100755 --- a/bin/mkrelease +++ b/bin/mkrelease @@ -164,9 +164,9 @@ NEXT=$(( $CHANGE + 1 )) DEV="$(printf %d.%d.%d-dev $MAJOR $MINOR $NEXT)" note "Checking that there's a recent test-crawler log" -touch -d $RDATE $SRC -TCLOG=$(ls -t $SRC/test-crawl-*.log | head -n 1) -[ $TCLOG -nt $SRC ] || die "Looked for $SRC/test-crawl-*.log, but didn't find one newer than the latest repository commit ($RDATE)" +touch -d $RDATE .svn/.latest-commit +TCLOG=$(ls -t ../test-crawl-*.log | head -n 1) +[ $TCLOG -nt .svn/.latest-commit ] || die "Looked for ../test-crawl-*.log, but didn't find one newer than the latest repository commit ($RDATE)" note "Checking that changelog information is available" changes=$( sed -n "/^ietfdb ($VER.*)/,/^ -- /p" changelog )