couple of fixes to make cvs2cl.pl run (but not work yet(
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5001 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
7b6071caec
commit
8c04e65bb6
1 changed files with 4 additions and 10 deletions
|
@ -32,7 +32,7 @@ UPDATE_URL=http://nsis.sourceforge.net/Special:Simpleupdate?action=raw
|
|||
|
||||
[cvs2cl]
|
||||
CVS2CL=cvs2cl.pl
|
||||
CVS2CL_PERL="C:\Program Files\Perl\perl.exe"
|
||||
CVS2CL_PERL="C:\Program Files\Perl\bin\perl.exe"
|
||||
CVS2CL_OPTS=--FSF
|
||||
=========================
|
||||
|
||||
|
@ -231,20 +231,16 @@ def Export():
|
|||
|
||||
def CreateChangeLog():
|
||||
print 'generating ChangeLog...'
|
||||
|
||||
# Assumes we are running in the Scripts directory
|
||||
curdir = os.getcwd()
|
||||
os.chdir('..')
|
||||
|
||||
|
||||
global CVS2CL
|
||||
if not os.path.isfile(CVS2CL):
|
||||
import urllib
|
||||
CVS2CL = urllib.urlretrieve('http://www.red-bean.com/cvs2cl/cvs2cl.pl','cvs2cl.pl')[0]
|
||||
|
||||
changelog = os.path.join('Scripts',newverdir,'ChangeLog')
|
||||
changelog = os.path.join(newverdir,'ChangeLog')
|
||||
|
||||
run(
|
||||
'%s %s %s --show-tag %s --file %s' % (CVS2CL_PERL, CVS2CL, CVS2CL_OPTS, CVS_TAG, changelog),
|
||||
'%s -x %s %s --show-tag %s --file %s ..' % (CVS2CL_PERL, CVS2CL, CVS2CL_OPTS, CVS_TAG, changelog),
|
||||
'changelog',
|
||||
'changelog failed'
|
||||
)
|
||||
|
@ -253,8 +249,6 @@ def CreateChangeLog():
|
|||
try: os.remove(changelog+'.bak')
|
||||
except: pass
|
||||
|
||||
os.chdir(curdir)
|
||||
|
||||
def CreateSourceTarball():
|
||||
print 'creating source tarball...'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue