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

Shebangs with spaces are not corrected by our sed

Offen
#26 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @torsava Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
4
Forks
4
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.