diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2014-11-15 01:58:25 +0000 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2015-03-22 21:10:16 +0800 |
commit | b08229de74367b95f851f7bb2c89781022df4101 (patch) | |
tree | ed8ca04a6212be5551ee8c45a8e88197874dfaa3 | |
parent | 968f33eff4be769159771d7b5db4444a8112b227 (diff) | |
download | patchwork-b08229de74367b95f851f7bb2c89781022df4101.tar.bz2 patchwork-b08229de74367b95f851f7bb2c89781022df4101.tar.xz |
Always use #!/usr/bin/env python
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>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
-rwxr-xr-x | apps/patchwork/bin/parsemail.py | 2 | ||||
-rwxr-xr-x | apps/patchwork/bin/rehash.py | 2 | ||||
-rw-r--r-- | apps/patchwork/parser.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/apps/patchwork/bin/parsemail.py b/apps/patchwork/bin/parsemail.py index 2a4866f..19e6e57 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> |