Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Commit

Permalink
Explicitly reference Python 2
Browse files Browse the repository at this point in the history
This should work on most distributions and is actually required for
those that already switched python to Python 3. Others will probably
follow...
  • Loading branch information
hahnjo committed Oct 1, 2019
1 parent 4ca409e commit ffc14f2
Show file tree
Hide file tree
Showing 20 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion bin/build-architecture
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python2

"""
Copyright (c) 2005--2008
Expand Down
2 changes: 1 addition & 1 deletion bin/build-platform
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python2

"""
Copyright (c) 2005--2008
Expand Down
2 changes: 1 addition & 1 deletion bin/cygwin-packager
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python2


"""
Expand Down
2 changes: 1 addition & 1 deletion bin/gib
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python2

"""
Copyright (c) 2005--2008
Expand Down
2 changes: 1 addition & 1 deletion bin/gpkg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python2

"""
gpkg - GUB package manager
Expand Down
2 changes: 1 addition & 1 deletion bin/gub
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python2

"""
Copyright (c) 2005--2008
Expand Down
2 changes: 1 addition & 1 deletion bin/gub-tester
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python2

def argv0_relocation ():
import os, sys
Expand Down
2 changes: 1 addition & 1 deletion bin/gupdate
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python2

"""
Copyright (c) 2005--2009
Expand Down
2 changes: 1 addition & 1 deletion gub.make
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CWD:=$(shell pwd)
PYTHON=python
PYTHON=python2
PYTHONPATH=.
export PYTHONPATH

Expand Down
2 changes: 1 addition & 1 deletion gub/distcc.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2

import os
import re
Expand Down
2 changes: 1 addition & 1 deletion gub/runner.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python2

"""
Copyright (c) 2005--2007
Expand Down
2 changes: 1 addition & 1 deletion gub/specs/lilypond.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ class LilyPond__darwin (LilyPond):
])
configure_flags = (LilyPond.configure_flags
.replace ('--enable-rpath', '--disable-rpath'))
make_flags = ' TARGET_PYTHON="/usr/bin/env python"'
make_flags = ' TARGET_PYTHON="/usr/bin/env python2"'

class LilyPond__darwin__ppc (LilyPond__darwin):
def configure (self):
Expand Down
2 changes: 1 addition & 1 deletion gub/versiondb.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2

"""
Copyright (c) 2005--2007
Expand Down
2 changes: 1 addition & 1 deletion gub/with-lock.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2


"""
Expand Down
2 changes: 1 addition & 1 deletion test-lily/cron-builder.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python2

# FIXME: replace `lilypond' with $package to make generic tester

Expand Down
2 changes: 1 addition & 1 deletion test-lily/dist-check.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python2

def argv0_relocation ():
import os, sys
Expand Down
2 changes: 1 addition & 1 deletion test-lily/rsync-lily-doc.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python2

def argv0_relocation ():
import os, sys
Expand Down
2 changes: 1 addition & 1 deletion test-lily/rsync-test.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python2

import os
import re
Expand Down
2 changes: 1 addition & 1 deletion test-lily/test-binary.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python2

import sys
import os
Expand Down
2 changes: 1 addition & 1 deletion test-lily/upload.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python2

maintainer = "graham"
maintainer_git_username = "philholmes"
Expand Down

0 comments on commit ffc14f2

Please sign in to comment.