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

Shebangs with spaces are not corrected by our sed

未關閉
#26 0 則留言 0 個 reaction 已指派 1 人 已被 @torsava 認領 在 GitHub 檢視
主要語言
Python
星號
4
分支
4
PR 合併指標
30 天內沒有已合併 PR

描述

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

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。