From 6acb88cf1287472e10e87d7d6518c66697eab3e9 Mon Sep 17 00:00:00 2001 From: Joseph Method Date: Thu, 17 Dec 2015 01:35:08 -0500 Subject: [PATCH] Fix python executable reference Use env to select the right python executable. Fixes issue on MacOS with selecting the system python instead of the Homebrew python. --- on-add-pirate | 2 +- on-modify-pirate | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/on-add-pirate b/on-add-pirate index 1fa8bd1..0444893 100755 --- a/on-add-pirate +++ b/on-add-pirate @@ -1,4 +1,4 @@ -#!/usr/bin/python2 +#!/usr/bin/env python2 import glob import imp diff --git a/on-modify-pirate b/on-modify-pirate index 4493495..867b63f 100755 --- a/on-modify-pirate +++ b/on-modify-pirate @@ -1,4 +1,4 @@ -#!/usr/bin/python2 +#!/usr/bin/env python2 import glob import imp -- 2.39.2