mozilla / html5-lint

HTML Validation using Mozilla's HTML5 Validator instance
199 stars 72 forks source link

Use /usr/bin/env for script use in VM #36

Closed Feelzor closed 1 year ago

Feelzor commented 2 years ago

This changes the python script shebang to use /usr/bin/env python instead of /usr/bin/python that doesn't exist in some environments (for example docker node:17-bullseye). It will also choose the right interpreter if the script is called inside a venv.