diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-04-06 21:16:41 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-04-22 13:03:04 +0200 |
| commit | f1ab501ede5c421ed9a561774a912e7d4d0d6cd3 (patch) | |
| tree | 11e4c8d24c3a993dea2a52001ddbabd07d65afc8 /cscript | |
| parent | 21ebc2365dd7a66c05d130dc87861f7399ae834b (diff) | |
Remove unused Windows identifier stuff (removed from cdist).
Diffstat (limited to 'cscript')
| -rw-r--r-- | cscript | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -717,10 +717,7 @@ def build(target, options, for_package): target.command('./waf install') def package_windows(target): - identifier = '' - if target.version is not None: - identifier = '%s.' % target.version - identifier += '%d' % target.bits + identifier = '%d' % target.bits shutil.copyfile('build/platform/windows/installer.%s.nsi' % identifier, 'build/platform/windows/installer2.%s.nsi' % identifier) target.command('sed -i "s~%%resources%%~%s/platform/windows~g" build/platform/windows/installer2.%s.nsi' % (os.getcwd(), identifier)) target.command('sed -i "s~%%graphics%%~%s/graphics~g" build/platform/windows/installer2.%s.nsi' % (os.getcwd(), identifier)) |
