]> git.donarmstrong.com Git - lilypond.git/commitdiff
Fix paths in constructing regtest output. release/2.11.48-1
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Sat, 7 Jun 2008 22:21:57 +0000 (19:21 -0300)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sat, 7 Jun 2008 22:21:57 +0000 (19:21 -0300)
buildscripts/output-distance.py

index fed9aafcbe1b81a39e7f0f1b08e0f43eed4c8f7e..8586d2481ab9cb9beb45bcd06c4b64685eee63b7 100644 (file)
@@ -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 '