commit a913b5cdd206870f555737823567cd4f501d65b7
Author: Miro HronĨok <miro(a)hroncok.cz>
Date: Sun Sep 16 12:14:42 2018 +0200
Also fix shebangs with spaces
pyproto/google/protobuf/internal/_parameterized.py has this shebang:
#! /usr/bin/env python
That was not covered by the sed and ended up with brp-mangle-shebang
warnings (soon to be errors).
chromium.spec | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/chromium.spec b/chromium.spec
index 19c30b5..c7003a4 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -814,10 +814,9 @@ udev.
%patch111 -p1 -b .wvhack
%patch112 -p1 -b .sanebuild
-
# Change shebang in all relevant files in this directory and all subdirectories
# See `man find` for how the `-exec command {} +` syntax works
-find -type f -exec sed -i '1s=^#!/usr/bin/\(python\|env
python\)[23]\?=#!%{__python2}=' {} +
+find -type f -exec sed -iE '1s=^#! */usr/bin/\(python\|env
python\)[23]\?=#!%{__python2}=' {} +
%if 0%{?asan}
export CC="clang"
Show replies by date