Mercurial > gub
changeset 6223:3d2df9737eb5
Merge pull request #3 from jrioux/lily-build
LilyPond and Python issues.
author | Graham Percival <graham@percival-music.ca> |
---|---|
date | Sat, 13 Oct 2012 14:44:25 -0700 |
parents | cd1d9fd98fad (current diff) 8668f096c18d (diff) |
children | 18e543fd8549 |
files | |
diffstat | 1 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/nsis/lilypond-prepost.nsh Mon Aug 27 12:16:16 2012 +0200 +++ b/nsis/lilypond-prepost.nsh Sat Oct 13 14:44:25 2012 -0700 @@ -159,15 +159,17 @@ ReadRegStr $R0 HKCR "Python\shell\open\command" "" ;;StrCmp $R0 "" 0 py_auto_file WriteRegStr HKCR "Python\shell" "" "open" - # %1 is the PYTHON command, so must be quoted bo the space - WriteRegExpandStr HKCR "Python\shell\open\command" "" '"$INSTDIR\usr\bin\python.exe" "%1" %2 %3 %4 %5 %6 %7 %8 %9' + # %1 is the PYTHON command, other arguments may contain + # filenames, so we quote them all to account for spaces + WriteRegExpandStr HKCR "Python\shell\open\command" "" '"$INSTDIR\usr\bin\python.exe" "%1" "%2" "%3" "%4" "%5" "%6" "%7" "%8" "%9"' ;;py_auto_file: ReadRegStr $R0 HKCR "py_auto_file\shell\open\command" "" ;;StrCmp $R0 "" 0 py_end WriteRegStr HKCR "py_auto_file\shell" "" "open" - # %1 is the PYTHON command, so must be quoted bo the space - WriteRegExpandStr HKCR "py_auto_file\shell\open\command" "" '"$INSTDIR\usr\bin\python.exe" "%1" %2 %3 %4 %5 %6 %7 %8 %9' + # %1 is the PYTHON command, other arguments may contain + # filenames, so we quote them all to account for spaces + WriteRegExpandStr HKCR "py_auto_file\shell\open\command" "" '"$INSTDIR\usr\bin\python.exe" "%1" "%2" "%3" "%4" "%5" "%6" "%7" "%8" "%9"' ;;py_end: FunctionEnd