Broken env variable replacing

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      If I use environment variables in "Other CMake Arguments" it will replace the variables in an incorrect order. It needs to replace long names before short names.

      Example:
      The following variables exists:
      MERCURIAL_REVISION = 0c775e18b569d4c5b505bd5fb73b854d700247d8
      MERCURIAL_REVISION_BRANCH = default
      MERCURIAL_REVISION_NUMBER = 5543
      MERCURIAL_REVISION_SHORT = 0c775e18

      If I use _BRANCH, _NUMBER or _SHORT it will replace half of the variable with the content of MERCURIAL_REVISION:

      "0c775e18b569d4c5b505bd5fb73b854d700247d8_NUMBER" instead of "5543"

            Assignee:
            Martin Weber
            Reporter:
            A. Klitzing
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: