From b223319183d9a6813a6b0e37e7edd759daed94e0 Mon Sep 17 00:00:00 2001 From: Oleksii Kliukin Date: Wed, 30 Sep 2015 18:00:28 +0200 Subject: [PATCH] use the PATH to get the python interpreter path for the scripts. --- patroni/scripts/aws.py | 2 +- patroni/scripts/restore.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/patroni/scripts/aws.py b/patroni/scripts/aws.py index b172a8c3..a0622f15 100755 --- a/patroni/scripts/aws.py +++ b/patroni/scripts/aws.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python import logging import requests diff --git a/patroni/scripts/restore.py b/patroni/scripts/restore.py index 4ac091f3..6b20e3e8 100755 --- a/patroni/scripts/restore.py +++ b/patroni/scripts/restore.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # arguments are: # - cluster scope # - cluster role