X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=buildscripts%2Foutput-distance.py;h=8586d2481ab9cb9beb45bcd06c4b64685eee63b7;hb=9ae52034113dcfbbc98fd7a0f8075ca3ea2cf3c9;hp=fed9aafcbe1b81a39e7f0f1b08e0f43eed4c8f7e;hpb=840aaebd3e2b008233ef53c8026be2201a4e39fd;p=lilypond.git diff --git a/buildscripts/output-distance.py b/buildscripts/output-distance.py index fed9aafcbe..8586d2481a 100644 --- a/buildscripts/output-distance.py +++ b/buildscripts/output-distance.py @@ -611,8 +611,8 @@ class SignatureFileLink (FileLink): outfile = (dest_dir + '/' + f).replace ('.eps', '.png') data_option = '' if options.local_data_dir: - data_option = ('-slilypond-datadir=%s/share/lilypond/current ' - % os.path.split(infile)[0]) + data_option = ('-slilypond-datadir=%s/../share/lilypond/current ' + % os.path.dirname(infile)) mkdir (os.path.split (outfile)[0]) cmd = ('gs -sDEVICE=png16m -dGraphicsAlphaBits=4 -dTextAlphaBits=4 '