fedora-python / fedora-python/pathfix

Fails to fix shebang of script installed with Python under a long path

Đang mở
#3 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
2
Fork
1
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.