diff options
author | Jacob Keller <jacob.e.keller@intel.com> | 2013-06-20 15:39:54 -0700 |
---|---|---|
committer | Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com> | 2013-06-20 15:45:02 -0700 |
commit | 979875323bd3fdd43b29b1640a26748bb9ef94bb (patch) | |
tree | 09b783c76c88677ae42cb870acfa817a7ded84a7 | |
parent | 3977d8258ae3d52ce0021a9a9496c09669c1f395 (diff) | |
download | stgit-979875323bd3fdd43b29b1640a26748bb9ef94bb.tar.gz |
stg: require python2 rather than generic python executable
This patch fixes an issue with machines which have python3 and python2
installed. It requires the python2 executable by default in order to prevent
accidental use of the Python 3 series (which is not compatible.)
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
-rw-r--r-- | Makefile | 2 | ||||
-rwxr-xr-x | setup.py | 2 | ||||
-rwxr-xr-x | stg | 2 | ||||
-rwxr-xr-x | stg-build | 2 | ||||
-rwxr-xr-x | stg-dbg | 2 | ||||
-rwxr-xr-x | stg-prof | 2 |
6 files changed, 6 insertions, 6 deletions
@@ -1,6 +1,6 @@ prefix ?= $(HOME) DESTDIR ?= / -PYTHON ?= python +PYTHON ?= python2 TEST_PATCHES ?= .. @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 import sys, glob, os from distutils.core import setup @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- python-mode -*- """Takes care of starting the Init function """ @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- python -*- import optparse, sys import stgit.main @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- python-mode -*- """Takes care of starting the Init function """ @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- python-mode -*- """Takes care of starting the Init function """ |