From c3a8c6cc2e5b1d41b4273f242cb70de8e713e0ee Mon Sep 17 00:00:00 2001 From: kichik Date: Sat, 31 Mar 2007 16:11:16 +0000 Subject: [PATCH] avoid ".." in ChangeLog git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5026 212acab6-be3b-0410-9dea-997c60f758d6 --- Scripts/release.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Scripts/release.py b/Scripts/release.py index 597196c4..81ccc3c7 100644 --- a/Scripts/release.py +++ b/Scripts/release.py @@ -247,11 +247,14 @@ def CreateChangeLog(): changelog = os.path.join(newverdir,'ChangeLog') + os.chdir('..') run( - '%s log .. > cvs.log' % CVS, + '%s log > Scripts\cvs.log' % CVS, LOG_ERRORS, - 'cvs log failed' + 'cvs log failed', + log_dir = 'Scripts' ) + os.chdir('Scripts') run( '%s -x %s %s --show-tag %s --file %s --stdin < cvs.log' % (CVS2CL_PERL, CVS2CL, CVS2CL_OPTS, CVS_TAG, changelog),