Use absolute path for calling git()
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
-
Follow the Contribution Guidelines. -
Apply the appropriate labels.
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.