2 # /usr/bin/bug-lilypond-cygwin.sh -- harvest relevant info for bugreport
5 # * add some kpathsea tricks
6 # * distribute for other platforms too
7 # * failure/success tracking and indication (-> rewrite in python)
12 # Running this in new shell may yield deceptive results
13 if [ "$name" = "bug-lilypond-cygwin" ]; then
16 Please source this script, ie do:
18 . /usr/bin/bug-lilypond-cygwin > bug.txt
23 docdir=@prefix@/share/doc/lilypond-@TOPLEVEL_VERSION@
24 if [ ! -d $docdir ]; then
25 docdir=@prefix@/doc/lilypond-@TOPLEVEL_VERSION@
29 echo Availability of executables
30 echo ===========================
51 rm -f example-1.* sample2e.*
53 latex \\nonstopmode \\input sample2e
54 cp $docdir/input/example-1.ly .
55 cp $docdir/input/example-2.ly .
57 tex \\nonstopmode \\input example-1.tex
58 dvips -o example-1.ps example-1.dvi
60 ly2dvi --verbose example-2
64 echo Environment settings
65 echo ====================
68 echo LILYPONDPREFIX="<$LILYPONDPREFIX>"
70 echo MFINPUTS="<$MFINPUTS>"
71 echo TFMFONTS="<$TFMFONTS>"
72 echo TEXINPUTS="<$TEXINPUTS>"
76 echo System information
77 echo ==================
82 cat /var/log/setup.log
83 # cat /var/log/setup.log.full