From 7d1c3d452b19c492465d865912ab7e130ae2c7f4 Mon Sep 17 00:00:00 2001 From: kichik Date: Tue, 4 Oct 2005 13:46:43 +0000 Subject: [PATCH] * 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 --- Scripts/release.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Scripts/release.py b/Scripts/release.py index 220ab4b9..ce6218b7 100644 --- a/Scripts/release.py +++ b/Scripts/release.py @@ -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