syslog-ng: change shebang to python3

The file is executable and can be put on a target.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Slater, Joseph
2020-05-01 16:32:51 -07:00
committed by Khem Raj
parent 2333cb1f0a
commit 0ced8fb161
2 changed files with 19 additions and 0 deletions
@@ -0,0 +1,18 @@
syslog-ng: change shebang to use python3
Correct shebang for python3. This is far from the only python file with an out of date shebang,
but it is the only one that winds up on a target.
Upstream-Status: Pending
Signed-off-by: Joe Slater <joe.slater@windriver.com>
--- a/lib/merge-grammar.py
+++ b/lib/merge-grammar.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
#############################################################################
# Copyright (c) 2010-2017 Balabit
#
@@ -7,6 +7,7 @@ SRC_URI += " \
file://fix-invalid-ownership.patch \
file://syslog-ng.service-the-syslog-ng-service.patch \
file://0001-syslog-ng-fix-segment-fault-during-service-start.patch \
file://shebang.patch \
file://syslog-ng-tmp.conf \
"