From 87b9f0b87b748fb8db87e2ff81d74bb76ec4769b Mon Sep 17 00:00:00 2001 From: Jason Lowe-Power Date: Fri, 10 Feb 2017 10:00:18 -0500 Subject: misc: Update #!env calls for python to explicit version In some newer Linux distributions, env python default to Python 3.0. This patch explicitly uses "python2" instead of just "python" for all scripts that use #! Reported-by: Sanchayan Maity Signed-off-by: Jason Lowe-Power --- util/batch/job.py | 2 +- util/batch/send.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'util/batch') diff --git a/util/batch/job.py b/util/batch/job.py index 9d7ecca8c..471b88251 100755 --- a/util/batch/job.py +++ b/util/batch/job.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Copyright (c) 2006 The Regents of The University of Michigan # All rights reserved. # diff --git a/util/batch/send.py b/util/batch/send.py index e7bf1958f..44a4f2879 100755 --- a/util/batch/send.py +++ b/util/batch/send.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Copyright (c) 2006 The Regents of The University of Michigan # All rights reserved. # -- cgit v1.2.3