[packages/lirc] fix shebangs

atler atler at pld-linux.org
Sat May 2 15:38:07 CEST 2020


commit 7240c8249c86ea7ea185a661a104d59fe0ddcebd
Author: Jan Palus <atler at pld-linux.org>
Date:   Sat May 2 15:37:44 2020 +0200

    fix shebangs

 lirc.spec | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/lirc.spec b/lirc.spec
index 6c2febb..3f110d5 100644
--- a/lirc.spec
+++ b/lirc.spec
@@ -149,6 +149,11 @@ Dokumentacja LIRC-a.
 %patch1 -p1
 %patch2 -p1
 
+grep -rl /usr/bin/env tools | xargs sed -i -e '1{
+	s,^#!.*bin/env .*python3,#!%{__python3},
+	s,^#!.*bin/env bash,#!%{__bash},
+}'
+
 %build
 %{__libtoolize}
 %{__aclocal}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lirc.git/commitdiff/846d4f2d1dc44c3e7c1c3a03b71b842905c7bf62



More information about the pld-cvs-commit mailing list