fedora-python / fedora-python/pathfix

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

Aperta
#3 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
2
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.