![]() openSUSE is now dynamically patching shebangs of Python script in order to specify the exact minor version, instead of just the major version, e.g. !/usr/bin/python3 will be substituted with !/usr/bin/python3.11. This not only alters existing whitelistings but will also require us to update whitelistings for every minor version bump of the Python interpreter. This commit makes the shell filter ignore minor interpreter versions in shebangs, e.g. python3.11 will be read as python3. Arguments are supported: !/usr/bin/python3.11 -v will be read as !/usr/bin/python3 -v See also: https://bugzilla.suse.com/show_bug.cgi?id=1212476 |
||
---|---|---|
.. | ||
shell_digest.sh | ||
shell_digest_shebang.py | ||
xml_digest.xml |