bug-lilypond
[Top][All Lists]
Advanced

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

problem with lilypond from the command line


From: Jake Rundall
Subject: problem with lilypond from the command line
Date: Mon, 27 Aug 2007 18:56:29 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

The script (lilypond) listed at the end of this message is in /usr/local/bin.
When I execute it, I get the following error:

GNU LilyPond 2.10.29
error: LILYPONDPREFIX is obsolete, use LILYPOND_DATADIR

If I edit Lilypond.app/Contents/Resources/lilycall.py by changing
'LILYPONDPREFIX' to 'LILYPOND_DATADIR'
everything seems to work fine.




#!/bin/sh

#
# Example file for invoking LilyPond.app from the commandline. 
#

# customize the following variables

## where was the app installed?
INSTALLDIR=/Applications

## uncomment to get some debugging info, and leave .ps files
# export LILYPOND_WRAPPER_DEBUG=1

if [ "$1" == "--print-appdir" ]; then
  echo "$INSTALLDIR/LilyPond.app/"
  exit 0
fi


# where to put the output
export LILYPOND_DESTDIR=`pwd`

# run the program
python "$INSTALLDIR/LilyPond.app/Contents/Resources/lilycall.py" \
  "$INSTALLDIR/LilyPond.app/" $*







reply via email to

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