lilypond-devel
[Top][All Lists]
Advanced

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

Re: GUB3: Patch to fix Mac Python scripts


From: Graham Percival
Subject: Re: GUB3: Patch to fix Mac Python scripts
Date: Tue, 30 Jun 2009 15:59:21 -0700
User-agent: Mutt/1.5.18 (2008-05-17)

Thanks, applied to kainhofer.  Jan: I'll send you the whole bunch
of patches at once.

Cheers,
- Graham

On Tue, Jun 30, 2009 at 03:04:05PM -0700, Patrick McCarty wrote:
> Hello,
> 
> This patch should fix the "/usr/bin/python" problem for the Mac OS X
> Python scripts; "/usr/bin/env python" is used instead.
> 
> The discussion is here:
> http://code.google.com/p/lilypond/issues/detail?id=717
> 
> Thanks,
> Patrick

> >From 8ea2f88fc7041f4d81c51f9936dd162b21ed31fb Mon Sep 17 00:00:00 2001
> From: Patrick McCarty <address@hidden>
> Date: Tue, 30 Jun 2009 14:27:35 -0700
> Subject: [PATCH] Fix Python scripts on Mac OS X
> 
> ---
>  gub/specs/lilypond.py |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/gub/specs/lilypond.py b/gub/specs/lilypond.py
> index 28f653f..13ab5bc 100644
> --- a/gub/specs/lilypond.py
> +++ b/gub/specs/lilypond.py
> @@ -350,6 +350,9 @@ class LilyPond__darwin (LilyPond):
>      def configure_command (self):
>          return (LilyPond.configure_command (self)
>                  .replace ('--enable-rpath', '--disable-rpath'))
> +    def makeflags (self):
> +        return (LilyPond.makeflags (self)
> +                .replace ('/usr/bin/python', '"/usr/bin/env python"'))
>  
>  class LilyPond__darwin__ppc (LilyPond__darwin):
>      def configure (self):
> -- 
> 1.6.3.3
> 

> _______________________________________________
> lilypond-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/lilypond-devel





reply via email to

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