[gcr/wip/smcv/python3: 6/6] Use python3 shebang in ui/icons/render-icons.py
- From: Simon McVittie <smcv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcr/wip/smcv/python3: 6/6] Use python3 shebang in ui/icons/render-icons.py
- Date: Wed, 25 Sep 2019 13:28:02 +0000 (UTC)
commit 0629160d8a145d562a15aa01a026a3af3380d873
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]