From 3a15ac83606a855574d8afbfd16a6464715c557f Mon Sep 17 00:00:00 2001 From: Jean-Guillaume Piccinali Date: Tue, 28 Oct 2014 11:43:22 +0100 Subject: [PATCH] replacing #!/usr/bin/python with #!/usr/bin/env python --- bin/irpf90_indent | 2 +- bin/profile | 2 +- packages/make_version.py | 2 +- src/codelet.py | 2 +- src/command_line.py | 2 +- src/create_man.py | 2 +- src/cython_setup.py | 2 +- src/error.py | 2 +- src/init.py | 2 +- src/irp_stack.py | 2 +- src/irpf90.py | 3 ++- src/irpf90_indent.py | 2 +- src/irpf90_python.exe | 2 +- src/irpf90_t.py | 2 +- src/irpman.py | 2 +- src/locks.py | 2 +- src/makefile.py | 2 +- src/module.py | 2 +- src/modules.py | 2 +- src/parsed_text.py | 2 +- src/preprocessed_text.py | 2 +- src/profile.py | 2 +- src/regexps.py | 2 +- src/subroutine.py | 2 +- src/subroutines.py | 2 +- src/touches.py | 2 +- src/util.py | 2 +- src/variable.py | 2 +- src/variables.py | 2 +- src/vim.py | 2 +- tools/commit-msg | 2 +- tools/post-commit | 2 +- 32 files changed, 33 insertions(+), 32 deletions(-) diff --git a/bin/irpf90_indent b/bin/irpf90_indent index 2310fdd..9702ae2 100755 --- a/bin/irpf90_indent +++ b/bin/irpf90_indent @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # IRPF90 is a Fortran90 preprocessor written in Python for programming using # the Implicit Reference to Parameters (IRP) method. # Copyright (C) 2009 Anthony SCEMAMA diff --git a/bin/profile b/bin/profile index 39e29e6..9772140 100755 --- a/bin/profile +++ b/bin/profile @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # IRPF90 is a Fortran90 preprocessor written in Python for programming using # the Implicit Reference to Parameters (IRP) method. # Copyright (C) 2009 Anthony SCEMAMA diff --git a/packages/make_version.py b/packages/make_version.py index fbca22a..81bb636 100755 --- a/packages/make_version.py +++ b/packages/make_version.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python import sys, os wd = os.path.abspath(os.path.dirname(__file__)) diff --git a/src/codelet.py b/src/codelet.py index c11d95e..cd05aa1 100644 --- a/src/codelet.py +++ b/src/codelet.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python from command_line import command_line import irpf90_t diff --git a/src/command_line.py b/src/command_line.py index 1581b8b..92b6c49 100644 --- a/src/command_line.py +++ b/src/command_line.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # IRPF90 is a Fortran90 preprocessor written in Python for programming using # the Implicit Reference to Parameters (IRP) method. # Copyright (C) 2009 Anthony SCEMAMA diff --git a/src/create_man.py b/src/create_man.py index 287b38d..52f5816 100644 --- a/src/create_man.py +++ b/src/create_man.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # IRPF90 is a Fortran90 preprocessor written in Python for programming using # the Implicit Reference to Parameters (IRP) method. # Copyright (C) 2009 Anthony SCEMAMA diff --git a/src/cython_setup.py b/src/cython_setup.py index f50de79..4a0ddf9 100755 --- a/src/cython_setup.py +++ b/src/cython_setup.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python from distutils.core import setup from distutils.extension import Extension from Cython.Distutils import build_ext diff --git a/src/error.py b/src/error.py index 2369ff0..42580b1 100644 --- a/src/error.py +++ b/src/error.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # IRPF90 is a Fortran90 preprocessor written in Python for programming using # the Implicit Reference to Parameters (IRP) method. # Copyright (C) 2009 Anthony SCEMAMA diff --git a/src/init.py b/src/init.py index 94b82c1..a33b7d5 100644 --- a/src/init.py +++ b/src/init.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # IRPF90 is a Fortran90 preprocessor written in Python for programming using # the Implicit Reference to Parameters (IRP) method. # Copyright (C) 2009 Anthony SCEMAMA diff --git a/src/irp_stack.py b/src/irp_stack.py index 0a5a9d0..4c25bef 100644 --- a/src/irp_stack.py +++ b/src/irp_stack.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # IRPF90 is a Fortran90 preprocessor written in Python for programming using # the Implicit Reference to Parameters (IRP) method. # Copyright (C) 2009 Anthony SCEMAMA diff --git a/src/irpf90.py b/src/irpf90.py index 1b9fd65..c0b3937 100644 --- a/src/irpf90.py +++ b/src/irpf90.py @@ -1,4 +1,5 @@ -#!/usr/bin/python +#!/usr/bin/env python +#cscs /usr/bin/env python # IRPF90 is a Fortran90 preprocessor written in Python for programming using # the Implicit Reference to Parameters (IRP) method. # Copyright (C) 2009 Anthony SCEMAMA diff --git a/src/irpf90_indent.py b/src/irpf90_indent.py index eb042da..c92a9fc 100755 --- a/src/irpf90_indent.py +++ b/src/irpf90_indent.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python import sys import re diff --git a/src/irpf90_python.exe b/src/irpf90_python.exe index 85de59e..858b418 100755 --- a/src/irpf90_python.exe +++ b/src/irpf90_python.exe @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # IRPF90 is a Fortran90 preprocessor written in Python for programming using # the Implicit Reference to Parameters (IRP) method. # Copyright (C) 2009 Anthony SCEMAMA diff --git a/src/irpf90_t.py b/src/irpf90_t.py index 73dff2b..68ffca9 100644 --- a/src/irpf90_t.py +++ b/src/irpf90_t.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # IRPF90 is a Fortran90 preprocessor written in Python for programming using # the Implicit Reference to Parameters (IRP) method. # Copyright (C) 2009 Anthony SCEMAMA diff --git a/src/irpman.py b/src/irpman.py index c0253a8..4e15b54 100755 --- a/src/irpman.py +++ b/src/irpman.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # IRPF90 is a Fortran90 preprocessor written in Python for programming using # the Implicit Reference to Parameters (IRP) method. # Copyright (C) 2009 Anthony SCEMAMA diff --git a/src/locks.py b/src/locks.py index fff745b..892d0cd 100644 --- a/src/locks.py +++ b/src/locks.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # IRPF90 is a Fortran90 preprocessor written in Python for programming using # the Implicit Reference to Parameters (IRP) method. # Copyright (C) 2009 Anthony SCEMAMA diff --git a/src/makefile.py b/src/makefile.py index 2a7c016..35d2d1a 100644 --- a/src/makefile.py +++ b/src/makefile.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # IRPF90 is a Fortran90 preprocessor written in Python for programming using # the Implicit Reference to Parameters (IRP) method. # Copyright (C) 2009 Anthony SCEMAMA diff --git a/src/module.py b/src/module.py index 3d648aa..5f761ed 100644 --- a/src/module.py +++ b/src/module.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # IRPF90 is a Fortran90 preprocessor written in Python for programming using # the Implicit Reference to Parameters (IRP) method. # Copyright (C) 2009 Anthony SCEMAMA diff --git a/src/modules.py b/src/modules.py index 2974442..6457820 100644 --- a/src/modules.py +++ b/src/modules.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # IRPF90 is a Fortran90 preprocessor written in Python for programming using # the Implicit Reference to Parameters (IRP) method. # Copyright (C) 2009 Anthony SCEMAMA diff --git a/src/parsed_text.py b/src/parsed_text.py index 6c09612..4b6dc47 100644 --- a/src/parsed_text.py +++ b/src/parsed_text.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # IRPF90 is a Fortran90 preprocessor written in Python for programming using # the Implicit Reference to Parameters (IRP) method. # Copyright (C) 2009 Anthony SCEMAMA diff --git a/src/preprocessed_text.py b/src/preprocessed_text.py index c479f0e..b7a4bf8 100644 --- a/src/preprocessed_text.py +++ b/src/preprocessed_text.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # IRPF90 is a Fortran90 preprocessor written in Python for programming using # the Implicit Reference to Parameters (IRP) method. # Copyright (C) 2009 Anthony SCEMAMA diff --git a/src/profile.py b/src/profile.py index abf0b92..6beb9d4 100644 --- a/src/profile.py +++ b/src/profile.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python rdtsc = """ #ifdef __i386 diff --git a/src/regexps.py b/src/regexps.py index b5ddcda..1aecc8f 100644 --- a/src/regexps.py +++ b/src/regexps.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # IRPF90 is a Fortran90 preprocessor written in Python for programming using # the Implicit Reference to Parameters (IRP) method. # Copyright (C) 2009 Anthony SCEMAMA diff --git a/src/subroutine.py b/src/subroutine.py index 1a9d75b..9b47da3 100644 --- a/src/subroutine.py +++ b/src/subroutine.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # IRPF90 is a Fortran90 preprocessor written in Python for programming using # the Implicit Reference to Parameters (IRP) method. # Copyright (C) 2009 Anthony SCEMAMA diff --git a/src/subroutines.py b/src/subroutines.py index 90edb68..67444b6 100644 --- a/src/subroutines.py +++ b/src/subroutines.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # IRPF90 is a Fortran90 preprocessor written in Python for programming using # the Implicit Reference to Parameters (IRP) method. # Copyright (C) 2009 Anthony SCEMAMA diff --git a/src/touches.py b/src/touches.py index b135e25..0690558 100644 --- a/src/touches.py +++ b/src/touches.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # IRPF90 is a Fortran90 preprocessor written in Python for programming using # the Implicit Reference to Parameters (IRP) method. # Copyright (C) 2009 Anthony SCEMAMA diff --git a/src/util.py b/src/util.py index f5935d2..8511656 100644 --- a/src/util.py +++ b/src/util.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # IRPF90 is a Fortran90 preprocessor written in Python for programming using # the Implicit Reference to Parameters (IRP) method. # Copyright (C) 2009 Anthony SCEMAMA diff --git a/src/variable.py b/src/variable.py index 96cc924..9266876 100644 --- a/src/variable.py +++ b/src/variable.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # IRPF90 is a Fortran90 preprocessor written in Python for programming using # the Implicit Reference to Parameters (IRP) method. # Copyright (C) 2009 Anthony SCEMAMA diff --git a/src/variables.py b/src/variables.py index 6029c84..cf2a409 100644 --- a/src/variables.py +++ b/src/variables.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # IRPF90 is a Fortran90 preprocessor written in Python for programming using # the Implicit Reference to Parameters (IRP) method. # Copyright (C) 2009 Anthony SCEMAMA diff --git a/src/vim.py b/src/vim.py index e409eb7..4f1ac48 100644 --- a/src/vim.py +++ b/src/vim.py @@ -1,4 +1,4 @@ -#/usr/bin/python +#!/usr/bin/env python import os diff --git a/tools/commit-msg b/tools/commit-msg index f6bebb6..de8a1e9 100755 --- a/tools/commit-msg +++ b/tools/commit-msg @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python import os,sys ROOT = os.path.dirname(__file__)+'/../../' diff --git a/tools/post-commit b/tools/post-commit index aff0c83..e1a21b8 100755 --- a/tools/post-commit +++ b/tools/post-commit @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python import os ROOT = os.path.dirname(__file__)+'/../../'