Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

archive: fix stored paths when building under MSYS #5569

Merged
merged 1 commit into from Feb 27, 2021

Commits on Feb 19, 2021

  1. archive: fix stored paths when building under MSYS

    When building CArchive package under MSYS, os.path.sep is Unix-style
    forward clash separator that is incompatible with bootloader (which
    on Windows expects back slash separators). Therefore, if we are on
    Windows and os.path.sep is forward slash, os.path.normpath() in
    CTOC.add() needs to be followed by explicit replacement of forward
    slashes with back slashes.
    
    Otherwise, bootloader fails to extract nested files from archive in
    onefile builds that are created in MSYS environment.
    rokm committed Feb 19, 2021
    Copy the full SHA
    2bafa18 View commit details
    Browse the repository at this point in the history