I don't actually understand the patch, but wouldn't it be sanest to not copy _any_ file at all but instead let TEXINPUTS (a PATH-like variable) point at the original input directory as its first element?
https://codereview.appspot.com/7201047/ _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel