summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2015-07-19 17:03:56 -0400
committerEric S. Raymond <esr@thyrsus.com>2015-07-19 17:03:56 -0400
commit2731b9907d394f0545a7380afd3f79264614b1b1 (patch)
treec167a603d8d989d1de1243618517703955dbc1df
parentf47af03c97bfa821f87620cb31a7dc943e6cef1b (diff)
downloadgpsd-2731b9907d394f0545a7380afd3f79264614b1b1.tar.gz
Change Python hashbang lines to invoke 'python2'
We've learned that Ubuntu 15.10 will have python3 as default. The ugly transition gas befun; our only recourse is to hape that all our deployment targets have 'pyton2' do the right thing. Works on 14.10.
-rwxr-xr-xgegps2
-rwxr-xr-xgpscat2
-rwxr-xr-xgpsfake2
-rwxr-xr-xgpsprof2
-rwxr-xr-xleapsecond.py2
-rwxr-xr-xtest_maidenhead.py2
-rwxr-xr-xxgps2
-rwxr-xr-xxgpsspeed2
8 files changed, 8 insertions, 8 deletions
diff --git a/gegps b/gegps
index 139c08ba..7966f88f 100755
--- a/gegps
+++ b/gegps
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
# -*- coding: utf-8 -*-
#
# usage: gegps [-i] [-d kmldir]
diff --git a/gpscat b/gpscat
index 4dd8f462..95ed9f4d 100755
--- a/gpscat
+++ b/gpscat
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
#
# This file is Copyright (c) 2010 by the GPSD project
# BSD terms apply: see the file COPYING in the distribution root for details.
diff --git a/gpsfake b/gpsfake
index 7572c3b0..ae095c64 100755
--- a/gpsfake
+++ b/gpsfake
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
#
# gpsfake -- test harness for gpsd
#
diff --git a/gpsprof b/gpsprof
index f1c11fe8..59db153e 100755
--- a/gpsprof
+++ b/gpsprof
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
#
# This file is Copyright (c) 2010 by the GPSD project
# BSD terms apply: see the file COPYING in the distribution root for details.
diff --git a/leapsecond.py b/leapsecond.py
index b7de5a02..783cae33 100755
--- a/leapsecond.py
+++ b/leapsecond.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
"""
Usage: leapsecond.py [-v] { [-h] | [-f filename] | [-g filename] | [-H filename]
diff --git a/test_maidenhead.py b/test_maidenhead.py
index bb239c34..5463d01b 100755
--- a/test_maidenhead.py
+++ b/test_maidenhead.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
#
# Test grid locator conversion.
#
diff --git a/xgps b/xgps
index a80e9566..332bdc8a 100755
--- a/xgps
+++ b/xgps
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
# -*- coding: UTF-8
'''
xgps -- test client for gpsd
diff --git a/xgpsspeed b/xgpsspeed
index f2e8a494..7bbf7c59 100755
--- a/xgpsspeed
+++ b/xgpsspeed
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
#
# by
# Robin Wittler <real@the-real.org> (speedometer mode)