lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Update python headers to match surrounding files (issue 565080043 by add


From: matt . peveler
Subject: Update python headers to match surrounding files (issue 565080043 by address@hidden)
Date: Thu, 03 Oct 2019 06:17:53 -0700

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 <address@hidden>
@@ -47,6 +47,6 @@ def main ():
     else:
         for f in sys.argv[3:]:
             pytt (from_re, to, f)
-
+
 if __name__ == '__main__':
     main ()





reply via email to

[Prev in Thread] Current Thread [Next in Thread]