]> git.lyx.org Git - lyx.git/commitdiff
Sanitize python scripts headers
authorJosé Matox <jamatos@lyx.org>
Tue, 10 Sep 2002 10:14:10 +0000 (10:14 +0000)
committerJosé Matox <jamatos@lyx.org>
Tue, 10 Sep 2002 10:14:10 +0000 (10:14 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5246 a592a061-630c-0410-9148-cb99ea01b6c8

lib/ChangeLog
lib/scripts/fen2ascii.py
lib/scripts/fig2pstex.py
lib/scripts/general_command_wrapper.py
lib/scripts/pic2ascii.py
lib/scripts/pic2png_eps.py

index c4dc1d57f7138ac27bbeba9cfcfce9d1743e2eeb..525fcdf9b067f949b147595982e27c8ffe56a76c 100644 (file)
@@ -1,3 +1,9 @@
+2002-09-10  José Matos  <jamatos@fep.up.pt>
+
+       * scripts/*.py: changed all header to
+       #! /usr/bin/env python
+       so that python's path is no longer hardcoded.
+
 2002-09-08  John Levon  <levon@movementarian.org>
 
        * images/math/: add dots XPMs
index b363e0b1b0593913999cbc092b2b3ca6132f1acf..921a4d8bcdaab533a5e4f819241124d46ab00e38 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#! /usr/bin/env python
 #
 # Copyright (C) 2001 The LyX Team.
 #
index 68a113d7479452d379b524f6ba8aaac55ddae8c7..e6432900364837c98c48c18d28399367961dcbe7 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#! /usr/bin/env python
 # This script converts a xfig file into Postscript/LaTeX files
 
 import sys
index 7ed2397541a9588f47b8b21ec814bb6e68cb0079..6142b9ccfbf5da0e30aadcd42fd71ef3919fc1f8 100644 (file)
@@ -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.
index 16395cac24999f6a660981e0b8ebc1962ec9e3e2..b7dd0cc1a8b072e030b36f2322dc24dd8915e402 100644 (file)
@@ -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
 
index 864431bddd7481d43f910a7f8532b9dc13ef458b..1a11e7fe296dcaa1e473561b7e82e7cb8c3bcb79 100644 (file)
@@ -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