Message ID | 1416016705-3866-1-git-send-email-damien.lespiau@intel.com |
---|---|
State | Accepted |
Headers | show |
diff --git a/apps/patchwork/bin/parsemail.py b/apps/patchwork/bin/parsemail.py index 2da999c..680528e 100755 --- a/apps/patchwork/bin/parsemail.py +++ b/apps/patchwork/bin/parsemail.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # # Patchwork - automated patch tracking system # Copyright (C) 2008 Jeremy Kerr <jk@ozlabs.org> diff --git a/apps/patchwork/bin/rehash.py b/apps/patchwork/bin/rehash.py index 92cfb20..c44e49b 100755 --- a/apps/patchwork/bin/rehash.py +++ b/apps/patchwork/bin/rehash.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # # Patchwork - automated patch tracking system # Copyright (C) 2008 Jeremy Kerr <jk@ozlabs.org> diff --git a/apps/patchwork/parser.py b/apps/patchwork/parser.py index 8295980..76f409c 100644 --- a/apps/patchwork/parser.py +++ b/apps/patchwork/parser.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # # Patchwork - automated patch tracking system # Copyright (C) 2008 Jeremy Kerr <jk@ozlabs.org>
Hardcoding the path to the python binary breaks virtualenv. virtualenv creates a special python binary in the path, and specifically using /usr/bin/python breaks that. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> --- apps/patchwork/bin/parsemail.py | 2 +- apps/patchwork/bin/rehash.py | 2 +- apps/patchwork/parser.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)