Update python headers to match surrounding files (issue 565080043 by matt.peveler@gmail.com)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Update python headers to match surrounding files (issue 565080043 by matt.peveler@gmail.com)

Matthew Peveler
Reviewers: ,

Description:
Update python headers to match surrounding files

This updates the headers of these two files to match the files that
surround them, increasing portability when running/building lilypond
under a non-standard python setup (e.g. using /opt).

Please review this at https://codereview.appspot.com/565080043/

Affected files (+3, -3 lines):
   M python/auxiliar/manuals_definitions.py
   M scripts/build/pytt.py


Index: python/auxiliar/manuals_definitions.py
diff --git a/python/auxiliar/manuals_definitions.py  
b/python/auxiliar/manuals_definitions.py
index  
e61c75b66fdd5969b2679efa35d9b552bc31382c..014e66f1b8a72735cf61bdc90688c9cc965820db  
100644
--- a/python/auxiliar/manuals_definitions.py
+++ b/python/auxiliar/manuals_definitions.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python

  # This module is imported by check_texi_refs.py

Index: scripts/build/pytt.py
diff --git a/scripts/build/pytt.py b/scripts/build/pytt.py
index  
2a0865a15ff0fd808c0f4d9e8a3f4c9a79adc1a0..f827afc9f8935e0efcfb74814c37b6605f3d7aa5  
100755
--- a/scripts/build/pytt.py
+++ b/scripts/build/pytt.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#! @PYTHON@

  '''
      Copyright (C) 2008--2019 Jan Nieuwenhuizen <[hidden email]>
@@ -47,6 +47,6 @@ def main ():
      else:
          for f in sys.argv[3:]:
              pytt (from_re, to, f)
-
+
  if __name__ == '__main__':
      main ()



_______________________________________________
lilypond-devel mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-devel