]> git.lyx.org Git - features.git/commitdiff
Remove the shebang line from our python scripts, per Jose's suggestion.
authorRichard Heck <rgheck@lyx.org>
Tue, 28 Jan 2014 17:52:16 +0000 (12:52 -0500)
committerRichard Heck <rgheck@lyx.org>
Tue, 28 Jan 2014 17:52:16 +0000 (12:52 -0500)
Fedora ships these chmod 644 and has never seen a problem. The advantage
to doing this is that it better controls what version of python we are
using to launch the script, and it will reveal if we're somehow somewhere
not controlling that properly.

21 files changed:
lib/scripts/TeXFiles.py
lib/scripts/clean_dvi.py
lib/scripts/convertDefault.py
lib/scripts/csv2lyx.py
lib/scripts/date.py
lib/scripts/ext_copy.py
lib/scripts/fen2ascii.py
lib/scripts/fig2pdftex.py
lib/scripts/fig2pstex.py
lib/scripts/fig_copy.py
lib/scripts/html2latexwrapper.py
lib/scripts/include_bib.py
lib/scripts/layout2layout.py
lib/scripts/legacy_lyxpreview2ppm.py
lib/scripts/lyxpak.py
lib/scripts/lyxpreview2bitmap.py
lib/scripts/lyxpreview_tools.py
lib/scripts/prefs2prefs.py
lib/scripts/prefs2prefs_lfuns.py
lib/scripts/prefs2prefs_prefs.py
lib/scripts/tex_copy.py

index 578fd56a43526050ac7b7070bc59e1e34b7d3c19..9e6f6b54898f584d9b9a6d6470cc3b1594bdc1f2 100755 (executable)
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 
 # file TeXFiles.py
index 5c346362e8c54ef6cc6717684343a8f264b9c791..317ea922224de5fd4fa276ce498b5abe5b8015d9 100644 (file)
@@ -1,5 +1,3 @@
-#! /usr/bin/env python
-
 '''
 file clean_dvi.py
 This file is part of LyX, the document processor.
index deb1af08663ce87cfdd29795b647dad92ba5291b..63d0e09c6a584709fdb0ffa23c2b40b871732c8f 100644 (file)
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 
 # file convertDefault.py
index 46a903e258aa2259bdc851e275441636bcfbef4f..ab194f7cc460221d47c55a46d01927f0b1b58369 100644 (file)
@@ -1,4 +1,3 @@
-#! /usr/bin/env python
 # -*- coding: utf-8 -*-
 
 # file csv2lyx.py
index 23cd79e94324ba2557f961de1fa9429584f494b8..39426e969d327e709dc895776c6aa9738651eb9a 100755 (executable)
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 
 # file date.py
index b3ef9ad27de84103d4bd5b868d198b76acc4a0df..fb70d7bbba316b0b89df69c369eade191730eeec 100644 (file)
@@ -1,4 +1,3 @@
-#! /usr/bin/env python
 # -*- coding: utf-8 -*-
 
 # file ext_copy.py
index 96bd6e0e1c93424e242ae33aabcd3e99e993740e..473515ccc7b68551a5b7d0c0a368c35d8b0f27e7 100644 (file)
@@ -1,5 +1,3 @@
-#! /usr/bin/env python
-
 # file fen2ascii.py
 # This file is part of LyX, the document processor.
 # Licence details can be found in the file COPYING.
index e20b2ad06b32e92169113cdc69af643de1c7da61..603fd3110363e91374b0ce9089a27f596b0cad01 100644 (file)
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 
 # file fig2pdf.py
index 1a559821a753649e1a0c0fb31ad967fef0cc6578..aaf3a1bd3afa5323d0b80f7013548d2829400168 100644 (file)
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 
 # file fig2pstex.py
index 16ae154a4ea1c3403b86be8fa67638d35deedc8a..1c66b3295e1de22a2509dfde91c96d90af4c6dab 100644 (file)
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 
 # file fig_copy.py
index d97942cfc900a5b53e21813c59746d765399ae9f..0629573cc57f89e6745ecef95d039164d247332e 100644 (file)
@@ -1,4 +1,3 @@
-#! /usr/bin/env python
 # -*- coding: utf-8 -*-
 
 # file html2latexwrapper.py
index d9c0e83c8a11348f0b8fd7c4bd6bb2903ae9c753..54053558cee6bad8732bb6cf7d7336983d3b55c9 100644 (file)
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 
 # file include_bib.py
index ce8da57275a7e267c776618d87b503f66fd0913e..36e4130d9a63292acdc99f28be05832becf1f0e9 100644 (file)
@@ -1,4 +1,3 @@
-#! /usr/bin/env python
 # -*- coding: utf-8 -*-
 
 # file layout2layout.py
index 0468e8ccde7005f54100a0872744dd76c0d64d80..fdc5a8eec315eec7922525b7f7d1c346d164c0ba 100644 (file)
@@ -1,4 +1,3 @@
-#! /usr/bin/env python
 # -*- coding: utf-8 -*-
 
 # file legacy_lyxpreview2ppm.py
index 77b16faa8fc62173639d3d1fa23c1a21f82d59c6..f3b8078be3a74a425aa92b70a7174c7458982f2e 100755 (executable)
@@ -1,4 +1,3 @@
-#! /usr/bin/env python
 # -*- coding: utf-8 -*-
 
 # file lyxpak.py
index 71849ce51e934ee24ac0ffe114777fcb6e0af9bf..4a2cddb61f8457299e867854be142d256e932782 100755 (executable)
@@ -1,4 +1,3 @@
-#! /usr/bin/env python
 # -*- coding: utf-8 -*-
 
 # file lyxpreview2bitmap.py
index 8cb356c66213cecb9567d7dddbdabcf3c69b0731..0f595e2bf35cd7b7c2c0089f2c858bc412be5c7e 100644 (file)
@@ -1,4 +1,3 @@
-#! /usr/bin/env python
 
 # file lyxpreview_tools.py
 # This file is part of LyX, the document processor.
index 3026d061637e0acb4f45fa9b804e59f452d5568b..f98b6e833ec4c6b2f9c0522fa8d31fb80717083a 100644 (file)
@@ -1,4 +1,3 @@
-#! /usr/bin/env python
 # -*- coding: utf-8 -*-
 
 # file prefs2prefs.py
index 0461cc26b529a8970488d118120f9385c61db387..398478b96c93489bdc994b7b16ecd63c3a1f43b6 100644 (file)
@@ -1,4 +1,3 @@
-#! /usr/bin/env python
 # -*- coding: utf-8 -*-
 
 # file prefs2prefs-lfuns.py
index 1bbe22e85e577a5fcc0855bf77a14e96977d95c0..b2f04852eda47a2549eabb501c302e7b6191c919 100644 (file)
@@ -1,4 +1,3 @@
-#! /usr/bin/env python
 # -*- coding: utf-8 -*-
 
 # file prefs2prefs-prefs.py
index 224406840c34c0d0a2e3194fe32f7480247604c9..42ac7a7c4bb7b78294d8f1d1e827523ae4b2d419 100644 (file)
@@ -1,4 +1,3 @@
-#! /usr/bin/env python
 # -*- coding: utf-8 -*-
 
 # file tex_copy.py