Skip to content

Use absolute path for calling git()

Marie Houillon requested to merge abs_path_for_git into master

What does this MR do?

In simulator/build_info.py, git command is called in the working directory: this can fail if the call is made from outside the repository. I replaced the relative path with the absolute path to the simulator folder.

Related issues

None

Author's checklist

Reviewer's checklist

All reviewers can help ensure accuracy, clarity, completeness, and adherence to the Contribution Guidelines.

Reviewer

  • Review by a code reviewer or other selected colleague to confirm accuracy, clarity, and completeness. This can be skipped for minor fixes without substantive content changes.

Maintainer

  • Review by assigned maintainer, who can always request/require the above reviews.
  • Ensure a release milestone is set.

Merge request reports