dnf: fix reproducibilty issue

Script points to native python3

(From OE-Core rev: 132c7ecd13955b20141fa01241f47753af60cb77)

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Jeremy Puhlman
2020-03-11 15:25:45 -07:00
committed by Richard Purdie
parent 10847a4030
commit 79870c4d75
2 changed files with 25 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
From 7e79b3b67fd5cecd7380e7e365fd88eca63b5bfa Mon Sep 17 00:00:00 2001
From: Jeremy Puhlman <jpuhlman@mvista.com>
Date: Wed, 11 Mar 2020 22:10:02 +0000
Subject: [PATCH] set python path for completion_helper
Upstream-Status: Inappropriate [oe-core specific]
Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
---
dnf/cli/completion_helper.py.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dnf/cli/completion_helper.py.in b/dnf/cli/completion_helper.py.in
index 351226759..2835cd3b6 100644
--- a/dnf/cli/completion_helper.py.in
+++ b/dnf/cli/completion_helper.py.in
@@ -1,4 +1,4 @@
-#!@PYTHON_EXECUTABLE@
+#!/usr/bin/env python3
#
# This file is part of dnf.
#
--
2.23.0