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=cvs2cl.pl
|
CVS2CL=cvs2cl.pl
|
||||||
CVS2CL_PERL="C:\Program Files\Perl\perl.exe"
|
CVS2CL_PERL="C:\Program Files\Perl\bin\perl.exe"
|
||||||
CVS2CL_OPTS=--FSF
|
CVS2CL_OPTS=--FSF
|
||||||
=========================
|
=========================
|
||||||
|
|
||||||
|
@ -231,20 +231,16 @@ def Export():
|
||||||
|
|
||||||
def CreateChangeLog():
|
def CreateChangeLog():
|
||||||
print 'generating ChangeLog...'
|
print 'generating ChangeLog...'
|
||||||
|
|
||||||
# Assumes we are running in the Scripts directory
|
|
||||||
curdir = os.getcwd()
|
|
||||||
os.chdir('..')
|
|
||||||
|
|
||||||
global CVS2CL
|
global CVS2CL
|
||||||
if not os.path.isfile(CVS2CL):
|
if not os.path.isfile(CVS2CL):
|
||||||
import urllib
|
import urllib
|
||||||
CVS2CL = urllib.urlretrieve('http://www.red-bean.com/cvs2cl/cvs2cl.pl','cvs2cl.pl')[0]
|
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(
|
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',
|
||||||
'changelog failed'
|
'changelog failed'
|
||||||
)
|
)
|
||||||
|
@ -253,8 +249,6 @@ def CreateChangeLog():
|
||||||
try: os.remove(changelog+'.bak')
|
try: os.remove(changelog+'.bak')
|
||||||
except: pass
|
except: pass
|
||||||
|
|
||||||
os.chdir(curdir)
|
|
||||||
|
|
||||||
def CreateSourceTarball():
|
def CreateSourceTarball():
|
||||||
print 'creating source tarball...'
|
print 'creating source tarball...'
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue