When patching include paths to use 'mnmlstc', avoid filename collisions (PR #582)

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 3.2.0-rc0
    • Affects Version/s: None
    • Component/s: Build
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Tracking ticket for PR-582:

      By default, perl's "-i" option tells it to:

      Open the specified file.
      Unlink the file.
      Create a new file with the same name.
      Copy the old file to the new file, transforming it per the regex.
      This is not valid on Windows because you can't have two files with the same name, even if one of them has been unlinked.

      The quick fix is to tell Perl to instead create a backup file, so it moves the original file rather than unlinking it.

              Assignee:
              David Golden
              Reporter:
              David Golden
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: