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@-1
24 [ ! -d $docdir ] && docdir=@prefix@/doc/lilypond-@TOPLEVEL_VERSION@-1
25 [ ! -d $docdir ] && docdir=$(echo /usr/doc/lilypond-[0-9]*)
28 echo Availability of executables
29 echo ===========================
53 rm -f example-1.* sample2e.*
55 latex \\nonstopmode \\input sample2e
58 cp $docdir/input/example-1.ly .
59 cp $docdir/input/example-2.ly .
61 tex \\nonstopmode \\input example-1.tex
62 dvips -o example-1.ps example-1.dvi
64 ly2dvi --verbose example-2
68 echo Environment settings
69 echo ====================
70 # If python is ok and ly2dvi runs, this all is not really necessary.
73 echo LILYPONDPREFIX="<$LILYPONDPREFIX>"
75 echo MFINPUTS="<$MFINPUTS>"
76 echo TFMFONTS="<$TFMFONTS>"
77 echo TEXINPUTS="<$TEXINPUTS>"
78 # do we want to know all?
82 echo System information
83 echo ==================
88 cat /var/log/setup.log
89 # cat /var/log/setup.log.full