avoid ".." in ChangeLog

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5026 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2007-03-31 16:11:16 +00:00
parent 2d9a18f167
commit c3a8c6cc2e

View file

@ -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),