From fd2c34b91ede95fc0da2291cbd9664eca96e6a1b Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 8 Sep 2013 22:35:23 +0100 Subject: Try to fix windows installers for updated cdist dependency building. --- cscript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cscript') diff --git a/cscript b/cscript index 0150826b4..50a9c39fc 100644 --- a/cscript +++ b/cscript @@ -24,7 +24,8 @@ def package(target, version): if target.platform == 'windows': shutil.copyfile('build/platform/windows/installer.%s.nsi' % target.bits, 'build/platform/windows/installer2.%s.nsi' % target.bits) target.command('sed -i "s~%%resources%%~%s/platform/windows~g" build/platform/windows/installer2.%s.nsi' % (os.getcwd(), target.bits)) - target.command('sed -i "s~%%deps%%~%s~g" build/platform/windows/installer2.%s.nsi' % (target.windows_prefix, target.bits)) + target.command('sed -i "s~%%static_deps%%~%s~g" build/platform/windows/installer2.%s.nsi' % (target.windows_prefix, target.bits)) + target.command('sed -i "s~%%cdist_deps%%~%s~g" build/platform/windows/installer2.%s.nsi' % (target.work_dir_cscript(), target.bits)) target.command('sed -i "s~%%binaries%%~%s/build~g" build/platform/windows/installer2.%s.nsi' % (os.getcwd(), target.bits)) target.command('sed -i "s~%%bits%%~32~g" build/platform/windows/installer2.%s.nsi' % target.bits) target.command('makensis build/platform/windows/installer2.%s.nsi' % target.bits) -- cgit v1.2.3