lsbinitscripts: fix the python intepreter

Closes-bug: 2019781

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I6cdf7d3105b82d81681fe9ead65730db0e08b0e8
This commit is contained in:
Jackie Huang 2023-05-15 20:01:06 -07:00
parent c94477d6bf
commit 79dd7bbae3
2 changed files with 27 additions and 1 deletions

View File

@ -0,0 +1,23 @@
From ada06af13917182a487140189d932262d30c2160 Mon Sep 17 00:00:00 2001
From: Jackie Huang <jackie.huang@windriver.com>
Date: Mon, 15 May 2023 19:54:17 -0700
Subject: [PATCH] xgettext_sh.py: fix the intepreter
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
---
po/xgettext_sh.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/po/xgettext_sh.py b/po/xgettext_sh.py
index d442e989..ced02a64 100755
--- a/po/xgettext_sh.py
+++ b/po/xgettext_sh.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# sh_xgettext
# Arnaldo Carvalho de Melo <acme@conectiva.com.br>
# Wed Mar 10 10:24:35 EST 1999
--
2.39.1

View File

@ -1,7 +1,10 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/files:" FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI += "file://service-redirect-to-restart-for-reload.patch" SRC_URI += " \
file://service-redirect-to-restart-for-reload.patch \
file://xgettext_sh.py-fix-the-intepreter.patch \
"
DEPENDS += "\ DEPENDS += "\
gettext-native \ gettext-native \