Skip to content

Commit 9173a5a

Browse files
Fix args for patch command (CQ-1519)
1 parent cee4e1e commit 9173a5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build_conquest_python.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,7 @@ def main():
761761
# Patch Pyinstaller to fix https://github.com/pyinstaller/pyinstaller/issues/5540
762762
# The actual fix for this isn't in any of the 3.x versions, and 4.x onwards require Python 3 :(
763763
if Package().linux:
764-
command = ["patch", os.path.join(os.path.dirname(os.path.abspath(__file__)), "pyinstaller.patch")]
764+
command = ["patch", "-i", os.path.join(os.path.dirname(os.path.abspath(__file__)), "pyinstaller.patch")]
765765
package_path = ConquestPythonPackage().python_base_directory / 'lib' / 'python2.7' / 'site-packages'
766766
subprocess.run(command, cwd=package_path)
767767

0 commit comments

Comments
 (0)