fedora-python / fedora-python/python-rpm-porting

Shebangs with spaces are not corrected by our sed

Aperta
#26 0 commenti 0 reazioni 1 assegnatario Rivendicata da @torsava Vedi su GitHub
Lingua principale
Python
Stelle
4
Fork
4
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

See:

https://src.fedoraproject.org/rpms/chromium/pull-request/11

chromium used a copy pasted sed from our guide. yet it was wrong.

The problematic shebang was (something like):

#! /usr/bin/env python

Notice the space.

BTW Instead of fixing the shebang in the guide and making it even more complicated, we can recommend pathfix.py as described in https://github.com/fedora-python/python-rpm-porting/issues/24

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.