fedora-python / fedora-python/pathfix
Fails to fix shebang of script installed with Python under a long path
未关闭
- 主要语言
- Python
- 星标
- 2
- 派生
- 1
- PR 合并指标
- 30 天内没有已合并 PR
描述
When using a Python interpreter installed in a path that exceeds 127 characters installed scripts will have a shebang of the following form:
```sh
#!/bin/sh
'''exec' /some-very-long-path-to-your-python-interpreter-that-exceeds-127-characters/foooooooooooooooooooooooooooooobar/bin/python3.12 "$0" "$@"
' '''
```
instead of the normal
```sh
#!/some-short-path/bin/python3.12
```
pathfix fails to fix the form for long paths and leaves it unchanged.
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。