microsoft / azurelinux

Linux OS for Azure 1P services and edge appliances
MIT License
4.31k stars 547 forks source link

toolkit: scripts: use '#!/usr/bin/env python3' instead of hardcoding interpreter #10471

Closed mfrw closed 2 months ago

mfrw commented 2 months ago
Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)


Summary

What does the PR accomplish, why was it needed? Use python interpreter as #!/bin/env python3 instead of hardcoding. This helps in levarging virtualenvs for scripts and not disturbing the systemd wide python installation

Change Log
Does this affect the toolchain?

NO

Associated issues
Links to CVEs
Test Methodology