lilypond-devel
[Top][All Lists]
Advanced

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

Re: invoke-mf2pt1.sh: 7: python: not found


From: Jonas Hahnfeld
Subject: Re: invoke-mf2pt1.sh: 7: python: not found
Date: Sun, 10 May 2020 21:29:21 +0200
User-agent: Evolution 3.36.2

Am Sonntag, den 10.05.2020, 14:41 -0400 schrieb Dan Eble:
> I'm trying to upgrade the LilyDev Dockerfile to use Ubuntu 20.04 and I get 
> this error when I try to build.  It's coming from here:
> 
>     # realpath doesn't exist on OSX
>     realpath() {
>       python -c "import os; print(os.path.realpath('$1'))"
>     }
> 
> Is there a Right Way to resolve this?  Should this call python3?  Should I 
> change the Docker image, say by creating a symlink?  TIA.

The short-term solution is to install python-is-python3 which will take
care of the symlink. Longer term, maybe the script can be made to work
without python? I know realpath is horrible in sh, but it could be we
can get around it...

Jonas

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

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