summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-04-06 21:18:04 +0200
committerCarl Hetherington <cth@carlh.net>2024-04-06 21:18:04 +0200
commit87f59f673650fbb3a8cdccebaf1f26bdf51d1dee (patch)
tree1e1f0dc16367c92cdee4e38a7884786de782da19
parent1ef50e8a03d559f3be3a07697a238639ac67fc24 (diff)
Fix Windows builds with older cscripts.
-rwxr-xr-xcdist3
1 files changed, 3 insertions, 0 deletions
diff --git a/cdist b/cdist
index dc64605..aefbbd1 100755
--- a/cdist
+++ b/cdist
@@ -593,6 +593,9 @@ class WindowsDockerTarget(DockerTarget):
def __init__(self, bits, directory, environment_version):
super(WindowsDockerTarget, self).__init__('windows', directory)
self.bits = bits
+ # This was used to differentiate "normal" Windows from XP, and is no longer important,
+ # but old cscripts still look for it
+ self.target = None
self.tool_path = '%s/usr/bin' % config.get('mxe_prefix')
if self.bits == 32: