X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=cscript;h=17f267628c3e1550698d6b174400028e77dda8d4;hb=237a0052c60af768f4d62b00321932918b7ba4d9;hp=b54b7da31ff5124bea48a1e832ff95e1689a6a1b;hpb=92cafb6fc686a041354da2eabde6bcb2f6846e1d;p=dcpomatic.git diff --git a/cscript b/cscript index b54b7da31..17f267628 100644 --- a/cscript +++ b/cscript @@ -29,7 +29,7 @@ def package(env, target, version): if target.platform == 'windows': shutil.copyfile('build/windows/installer.%s.nsi' % target.bits, 'build/windows/installer2.%s.nsi' % target.bits) env.command('sed -i "s~%%resources%%~%s/windows~g" build/windows/installer2.%s.nsi' % (os.getcwd(), target.bits)) - env.command('sed -i "s~%%deps%%~%s~g" build/windows/installer2.%s.nsi' % (env.windows_prefix(), target.bits)) + env.command('sed -i "s~%%deps%%~%s~g" build/windows/installer2.%s.nsi' % (env.windows_prefix, target.bits)) env.command('sed -i "s~%%binaries%%~%s/build~g" build/windows/installer2.%s.nsi' % (os.getcwd(), target.bits)) env.command('sed -i "s~%%bits%%~32~g" build/windows/installer2.%s.nsi' % target.bits) env.command('makensis build/windows/installer2.%s.nsi' % target.bits)