diff --git a/lib/ChangeLog b/lib/ChangeLog index c4dc1d57f7..525fcdf9b0 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,9 @@ +2002-09-10 José Matos + + * scripts/*.py: changed all header to + #! /usr/bin/env python + so that python's path is no longer hardcoded. + 2002-09-08 John Levon * images/math/: add dots XPMs diff --git a/lib/scripts/fen2ascii.py b/lib/scripts/fen2ascii.py index b363e0b1b0..921a4d8bcd 100644 --- a/lib/scripts/fen2ascii.py +++ b/lib/scripts/fen2ascii.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#! /usr/bin/env python # # Copyright (C) 2001 The LyX Team. # diff --git a/lib/scripts/fig2pstex.py b/lib/scripts/fig2pstex.py index 68a113d747..e643290036 100644 --- a/lib/scripts/fig2pstex.py +++ b/lib/scripts/fig2pstex.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#! /usr/bin/env python # This script converts a xfig file into Postscript/LaTeX files import sys diff --git a/lib/scripts/general_command_wrapper.py b/lib/scripts/general_command_wrapper.py index 7ed2397541..6142b9ccfb 100644 --- a/lib/scripts/general_command_wrapper.py +++ b/lib/scripts/general_command_wrapper.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#! /usr/bin/env python # This is a general wrapper script that will allow # us to maintain security in the external material # insets. diff --git a/lib/scripts/pic2ascii.py b/lib/scripts/pic2ascii.py index 16395cac24..b7dd0cc1a8 100644 --- a/lib/scripts/pic2ascii.py +++ b/lib/scripts/pic2ascii.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#! /usr/bin/env python # This script converts a raster format picture into an ascii representation # with the suffix .asc diff --git a/lib/scripts/pic2png_eps.py b/lib/scripts/pic2png_eps.py index 864431bddd..1a11e7fe29 100644 --- a/lib/scripts/pic2png_eps.py +++ b/lib/scripts/pic2png_eps.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#! /usr/bin/env python # This script converts a raster format picture into a PNG and EPS file import sys