1From d3556767b84f3687743fdad0a88af0739d736ea9 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Fri, 30 Dec 2016 18:29:37 +0200
4Subject: [PATCH] Run python scripts using env
5
6Otherwise the build tools hardcode the python path into them.
7
8Upstream-Status: Inappropriate [oe-core specific]
9Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
10---
11 bin/dnf-automatic.in | 2 +-
12 bin/dnf.in           | 2 +-
13 2 files changed, 2 insertions(+), 2 deletions(-)
14
15diff --git a/bin/dnf-automatic.in b/bin/dnf-automatic.in
16index 17e35a05..28827e38 100755
17--- a/bin/dnf-automatic.in
18+++ b/bin/dnf-automatic.in
19@@ -1,4 +1,4 @@
20-#!@PYTHON_EXECUTABLE@
21+#!/usr/bin/env python3
22 # dnf-automatic executable.
23 #
24 # Copyright (C) 2014-2016 Red Hat, Inc.
25diff --git a/bin/dnf.in b/bin/dnf.in
26index 55ceb3f2..e38973c7 100755
27--- a/bin/dnf.in
28+++ b/bin/dnf.in
29@@ -1,4 +1,4 @@
30-#!@PYTHON_EXECUTABLE@
31+#!/usr/bin/env python3
32 # The dnf executable script.
33 #
34 # Copyright (C) 2012-2016 Red Hat, Inc.
35