-
Notifications
You must be signed in to change notification settings - Fork 23
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
Use python3 interpreter in your path instead of hardcoding /bin/python3 #31
base: master
Are you sure you want to change the base?
Conversation
On Debian-based systems, python3 is in /usr/bin. Signed-off-by: dann frazier <dann.frazier@canonical.com>
@encukou can you please advise if the proposed shebang ( |
The proposed In Fedora/RHEL, you'll get the most robust behavior with |
@encukou thank you for the help! I've now reviewed the edk2 package's SPEC file in RHEL8, where this python script is primarily meant to be invoked (down-stream), in the Brew build root. I now remember that we've already been careful enough to invoke the script from the edk2 spec file regardless of the shebang -- because this is what we have in RHEL8:
In Fedora, we have:
So the edk2 spec file in RHEL8 already uses the best possible approach. And the Fedora one, while it could be improved, is nonetheless independent of the script's own shebang. Thus, given
I'm going to approve this PR (as soon as I can figure out how to do that on this "modern" UI called "github"). Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed-by: Laszlo Ersek lersek@redhat.com
per above discussion.
@dannf I have zero clue why this PR is stuck in |
@dannf ... because your commit message does carry your S-o-b. |
Weird - it does have my S-o-b - and it is using an email address attached to my github account. |
On Debian-based systems, python3 is in /usr/bin.
Signed-off-by: dann frazier dann.frazier@canonical.com