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 摘要。