[gcr/wip/smcv/python3] Use python3 shebang in ui/icons/render-icons.py



commit a0f8563859758c351b9e3e7f20d515631d950fa2
Author: Andreas Henriksson <andreas fatal se>
Date:   Mon Sep 9 19:45:22 2019 +0200

    Use python3 shebang in ui/icons/render-icons.py
    
    Also invoke the script from the Makefile in a way that the shebang is
    actually used.

 ui/icons/Makefile.am     | 2 +-
 ui/icons/render-icons.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/ui/icons/Makefile.am b/ui/icons/Makefile.am
index c419d89..4ba5b5c 100644
--- a/ui/icons/Makefile.am
+++ b/ui/icons/Makefile.am
@@ -26,4 +26,4 @@ install-data-hook:
 endif
 
 render:
-       cd $(srcdir) && python ui/icons/render-icons.py
+       cd $(srcdir) && ./ui/icons/render-icons.py
diff --git a/ui/icons/render-icons.py b/ui/icons/render-icons.py
index 62cc0c8..cc5be3a 100755
--- a/ui/icons/render-icons.py
+++ b/ui/icons/render-icons.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copied from gnome-icon-theme and adjusted lightly.
 #


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]