From: Joseph Method Date: Thu, 17 Dec 2015 06:35:08 +0000 (-0500) Subject: Fix python executable reference X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/commitdiff_plain/6acb88cf1287472e10e87d7d6518c66697eab3e9?ds=sidebyside;hp=f73715347705fc73d08f8000ebb2248055199120 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. --- 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