From 94e2cde27fdb70db5f239feed4188ca657ffc26d Mon Sep 17 00:00:00 2001 From: Doug Felt Date: Wed, 17 May 2017 09:28:52 -0700 Subject: [PATCH] Fix scripts that auto-invoke python to find it correctly. Some of our environments use python from /usr/local/bin. In these environments using /usr/bin/python can cause unexpected behavior since the python module search path is different. So use env to find python using the PATH instead. --- generate_emoji_html.py | 2 +- materialize_emoji_images.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/generate_emoji_html.py b/generate_emoji_html.py index d4263a660..a971fc6ac 100755 --- a/generate_emoji_html.py +++ b/generate_emoji_html.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # # Copyright 2016 Google Inc. All rights reserved. # diff --git a/materialize_emoji_images.py b/materialize_emoji_images.py index c5d2858fe..53cb9afb7 100755 --- a/materialize_emoji_images.py +++ b/materialize_emoji_images.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # # Copyright 2016 Google Inc. All rights reserved. #