From: Avery Pennarun Date: Sun, 24 Jan 2010 21:37:46 +0000 (-0500) Subject: executable files: don't assume python2.5. X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=144b18accd6a706021efce697c7dedb299f497e0;p=packages%2Fb%2Fbup.git executable files: don't assume python2.5. The forcing of version 2.5 was leftover from before, when it was accidentally selecting python 2.4 by accident on some distros when both versions are installed. But actually that's fine; bup works in python 2.4 without problems. So let's not cause potentially *more* portability problems by forcing python 2.5 when it might not exist. --- diff --git a/bup.py b/bup.py index 281ac73..d5b5c76 100755 --- a/bup.py +++ b/bup.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.5 +#!/usr/bin/env python import sys, os, git argv = sys.argv diff --git a/cmd-index.py b/cmd-index.py index 47302c6..1d53f8e 100755 --- a/cmd-index.py +++ b/cmd-index.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.5 +#!/usr/bin/env python import os, sys, stat import options, git, index from helpers import * diff --git a/cmd-init.py b/cmd-init.py index effaac4..9f29b1c 100755 --- a/cmd-init.py +++ b/cmd-init.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.5 +#!/usr/bin/env python import git, options, client from helpers import * diff --git a/cmd-join.py b/cmd-join.py index 5378629..6ad32fe 100755 --- a/cmd-join.py +++ b/cmd-join.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.5 +#!/usr/bin/env python import sys, time, struct import hashsplit, git, options, client from helpers import * diff --git a/cmd-save.py b/cmd-save.py index 529ad14..8c7ec9e 100755 --- a/cmd-save.py +++ b/cmd-save.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.5 +#!/usr/bin/env python import sys, re, errno, stat, client import hashsplit, git, options, index from helpers import * diff --git a/cmd-server.py b/cmd-server.py index 09622f7..5ca8f36 100755 --- a/cmd-server.py +++ b/cmd-server.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.5 +#!/usr/bin/env python import sys, struct, mmap import options, git from helpers import * diff --git a/cmd-split.py b/cmd-split.py index 7b76b57..f462655 100755 --- a/cmd-split.py +++ b/cmd-split.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.5 +#!/usr/bin/env python import sys, time, struct import hashsplit, git, options, client from helpers import * diff --git a/cmd-tick.py b/cmd-tick.py index da1d003..ad9f708 100755 --- a/cmd-tick.py +++ b/cmd-tick.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.5 +#!/usr/bin/env python import sys, time import options diff --git a/memtest.py b/memtest.py index e14aa19..efaf151 100755 --- a/memtest.py +++ b/memtest.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.5 +#!/usr/bin/env python import sys, re, struct, mmap import git, options from helpers import * diff --git a/wvtest.py b/wvtest.py index 1ab7a3f..7edd91a 100755 --- a/wvtest.py +++ b/wvtest.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.5 +#!/usr/bin/env python import traceback import os import re