[packages/kernel/LINUX_5_4] - fix more shebangs, rel 2

baggins baggins at pld-linux.org
Sun May 23 00:22:03 CEST 2021


commit 967dd9fd9714c1e647fa26adf183d19378a8fa1d
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun May 23 00:21:41 2021 +0200

    - fix more shebangs, rel 2

 kernel.spec | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/kernel.spec b/kernel.spec
index 5b7f1ffa..120486a5 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -67,7 +67,7 @@
 %define		have_pcmcia	0
 %endif
 
-%define		rel		1
+%define		rel		2
 %define		basever		5.4
 %define		postver		.121
 
@@ -725,8 +725,12 @@ find -name '*.pl' -print0 | \
 	scripts/documentation-file-ref-check \
 	scripts/get_dvb_firmware \
 	scripts/kernel-doc \
+	scripts/sphinx-pre-install \
 	scripts/stackdelta
 
+%{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+bash(\s|$),#!/bin/bash\\1,' \
+	scripts/config
+
 %build
 install -d %{objdir}
 cat > %{targetobj}.mk <<'EOF'
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kernel.git/commitdiff/967dd9fd9714c1e647fa26adf183d19378a8fa1d



More information about the pld-cvs-commit mailing list