From 7e3d2a69b067ba844aaffca3d3a1f6d5c4c119e7 Mon Sep 17 00:00:00 2001 From: Mark Borgerding Date: Sun, 8 Feb 2004 17:32:22 +0000 Subject: [PATCH] generic way of finding python2.3 -- works on redhat & debian systems --- test/compfft.py | 2 +- test/fastfir.py | 3 ++- test/fft.py | 3 ++- test/mk_test.py | 3 ++- test/testkiss.py | 3 ++- 5 files changed, 9 insertions(+), 5 deletions(-) diff --git a/test/compfft.py b/test/compfft.py index 884fe64..70bad2a 100755 --- a/test/compfft.py +++ b/test/compfft.py @@ -1,4 +1,4 @@ -#!/usr/local/bin/python2.3 +#!/usr/bin/env python2.3 # use FFTPACK as a baseline import FFT diff --git a/test/fastfir.py b/test/fastfir.py index 2c5f9ac..bbe029a 100755 --- a/test/fastfir.py +++ b/test/fastfir.py @@ -1,4 +1,5 @@ -#!/usr/local/bin/python2.3 +#!/usr/bin/env python2.3 + from Numeric import * from FFT import * diff --git a/test/fft.py b/test/fft.py index ca03496..d6d7b2b 100755 --- a/test/fft.py +++ b/test/fft.py @@ -1,4 +1,5 @@ -#!/usr/local/bin/python2.3 +#!/usr/bin/env python2.3 + import math import sys import random diff --git a/test/mk_test.py b/test/mk_test.py index cfac9f6..7481c06 100755 --- a/test/mk_test.py +++ b/test/mk_test.py @@ -1,4 +1,5 @@ -#!/usr/local/bin/python2.3 +#!/usr/bin/env python2.3 + import FFT import sys import random diff --git a/test/testkiss.py b/test/testkiss.py index cb89d4d..4a40693 100755 --- a/test/testkiss.py +++ b/test/testkiss.py @@ -1,4 +1,5 @@ -#!/usr/local/bin/python2.3 +#!/usr/bin/env python2.3 + import math import sys import os