[packages/uhd] fixup more shebangs
atler
atler at pld-linux.org
Mon Aug 16 22:00:16 CEST 2021
commit 0b1fbba1922a402a4d036b3b1123b19bc4013a3b
Author: Jan Palus <atler at pld-linux.org>
Date: Mon Aug 16 21:54:24 2021 +0200
fixup more shebangs
uhd.spec | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/uhd.spec b/uhd.spec
index 975710e..2d79aad 100644
--- a/uhd.spec
+++ b/uhd.spec
@@ -170,8 +170,7 @@ Biblioteka USRP Module Peripheral Manager dla Pythona.
%{__sed} -i -e '1s,/usr/bin/env python$,%{__python},' host/examples/python/*.py
%{__sed} -i -e '1s,/usr/bin/env python$,%{__python},' host/utils/{converter_benchmark.py,usrp2_{card_burner,card_burner_gui,recovery}.py}
%{__sed} -i -e '1s,/usr/bin/env python$,%{__python},' host/utils/latency/graph.py
-%{__sed} -i -e '1s,/usr/bin/env python3,%{__python3},' mpm/python/{n3xx_bist,usrp_hwd.py,usrp_update_fs}
-%{__sed} -i -e '1s,/usr/bin/env python3,%{__python3},' mpm/tools/mpm_{debug,shell}.py
+grep -rl '/usr/bin/env python3' . | xargs %{__sed} -i -e '1s,/usr/bin/env python3,%{__python3},'
%build
install -d build-{host,mpm}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/uhd.git/commitdiff/c013d6c7fd7b0b8ebbb8088840846cce8142f522
More information about the pld-cvs-commit
mailing list