0001-Run-python-scripts-using-env.patch 669 B

12345678910111213141516171819202122232425
  1. From 15d0afcfa4868b7b072b3434bac0064617d61f99 Mon Sep 17 00:00:00 2001
  2. From: Lei Maohui <leimaohui@cn.fujitsu.com>
  3. Date: Tue, 19 Dec 2017 14:53:14 +0900
  4. Subject: [PATCH] Run python scripts using env
  5. Otherwise the build tools hardcode the python path into them.
  6. Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
  7. ---
  8. bin/dnfdragora | 2 +-
  9. 1 file changed, 1 insertion(+), 1 deletion(-)
  10. diff --git a/bin/dnfdragora b/bin/dnfdragora
  11. index b8e0550..cd80f7f 100755
  12. --- a/bin/dnfdragora
  13. +++ b/bin/dnfdragora
  14. @@ -1,4 +1,4 @@
  15. -#!/usr/bin/python3
  16. +#!/usr/bin/env python3
  17. # vim: set et ts=4 sw=4:
  18. # Copyright 2016-2017 Angelo Naselli <anaselli@linux.it>
  19. #
  20. --
  21. 2.7.4