2 # /etc/profile.d/zlily-profile.sh -- profile additions for Windows
3 # runs after lilypond-profile.sh
5 # maybe we should do this once (postinstall) and dump result for
7 POSIX_GS_LIB="$(cygpath -apu ""$GS_LIB"")"
8 WINDOWS_GS_LIB="$(cygpath -apw ""$POSIX_GS_LIB"")"
10 POSIX_GS_FONTPATH="$(cygpath -apu ""$GS_FONTPATH"")"
11 WINDOWS_GS_FONTPATH="$(cygpath -apw ""$POSIX_GS_FONTPATH"")"
13 POSIX_TEXINPUTS="$(cygpath -apu ""$TEXINPUTS"")"
14 WINDOWS_TEXINPUTS="$(cygpath -apw ""$POSIX_TEXINPUTS"")"
16 POSIX_TFMFONTS="$(cygpath -apu ""$TFMFONTS"")"
17 WINDOWS_TFMFONTS="$(cygpath -apw ""$POSIX_TFMFONTS"")"
19 POSIX_MFINPUTS="$(cygpath -apu ""$MFINPUTS"")"
20 WINDOWS_MFINPUTS="$(cygpath -apw ""$POSIX_MFINPUTS"")"
22 export POSIX_TEXINPUTS POSIX_TFMFONTS POSIX_TFMFONTS
23 export WINDOWS_TEXINPUTS WINDOWS_TFMFONTS WINDOWS_MFINPUTS
25 GS_FONTPATH="$WINDOWS_GS_FONTPATH"
26 GS_LIB="$WINDOWS_GS_LIB"
28 PATH="/usr/lilypond/bin:$PATH"
29 PATH="@prefix@/bin:$PATH"
31 PATH="/usr/lilypond/wrappers:$PATH"
32 PATH="@prefix@/wrappers:$PATH"