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 ===========================
52 rm -f example-1.
* sample2e.
*
54 latex
\\nonstopmode
\\input sample2e
57 cp $docdir/input
/example-1.ly .
58 cp $docdir/input
/example-2.ly .
60 tex
\\nonstopmode
\\input example-1.tex
61 dvips
-o example-1.ps example-1.dvi
63 ly2dvi
--verbose example-2
67 echo Environment settings
68 echo ====================
69 # If python is ok and ly2dvi runs, this all is not really necessary.
72 echo LILYPONDPREFIX
="<$LILYPONDPREFIX>"
74 echo MFINPUTS
="<$MFINPUTS>"
75 echo TFMFONTS
="<$TFMFONTS>"
76 echo TEXINPUTS
="<$TEXINPUTS>"
77 # do we want to know all?
81 echo System information
82 echo ==================
87 cat /var
/log
/setup.log
88 # cat /var/log/setup.log.full