projects
/
cdist.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ef50e8
)
Fix Windows builds with older cscripts.
author
Carl Hetherington
<cth@carlh.net>
Sat, 6 Apr 2024 19:18:04 +0000
(21:18 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 6 Apr 2024 19:18:04 +0000
(21:18 +0200)
cdist
patch
|
blob
|
history
diff --git
a/cdist
b/cdist
index dc64605008ee0bc3b675622d021ce8d13dc21ec2..aefbbd12ef2b427cf49cf6030fef6ec1d82cf24e 100755
(executable)
--- 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: