* create_special_build takes 2 arguments, not 3
* use log_dir in log() git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4302 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
b6cfab9c6a
commit
7d1c3d452b
1 changed files with 2 additions and 2 deletions
|
@ -90,7 +90,7 @@ newverdir = 'nsis-%s-src' % VERSION
|
|||
### some useful functions
|
||||
|
||||
def log(msg, log_dir = '.'):
|
||||
open('release.log', 'a').write(msg + '\n')
|
||||
open('%s\\release.log' % log_dir, 'a').write(msg + '\n')
|
||||
|
||||
def exit(log_dir = '.'):
|
||||
log('\nerror occurred, exiting', log_dir)
|
||||
|
@ -276,7 +276,7 @@ def create_special_build(name, option):
|
|||
os.chdir('..')
|
||||
|
||||
create_special_build('strlen_8192', 'NSIS_MAX_STRLEN=8192')
|
||||
create_special_build('log', 'NSIS_CONFIG_LOG=yes', 'log')
|
||||
create_special_build('log', 'NSIS_CONFIG_LOG=yes')
|
||||
|
||||
### upload files to SourceForge
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue