Mercurial > mxe-octave
comparison makeinst-script.sh @ 3575:a247dc2d32c0
nsis-installer: Fix multiple single quotes in installer script.
* makeinst-script.sh: Use `` for strings that contain "" and '' strings.
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Tue, 08 Apr 2014 22:00:46 -0400 |
parents | da8c477d3041 |
children | 1e623b4ce67b |
comparison
equal
deleted
inserted
replaced
3574:37d705830a35 | 3575:a247dc2d32c0 |
---|---|
304 Section "FileTypeRego" | 304 Section "FileTypeRego" |
305 ; Octave document | 305 ; Octave document |
306 WriteRegStr HKCR "Octave.Document.$VERSION" "" "GNU Octave Script" | 306 WriteRegStr HKCR "Octave.Document.$VERSION" "" "GNU Octave Script" |
307 WriteRegStr HKCR "Octave.Document.$VERSION\\DefaultIcon" "" "\$INSTDIR\\$ICON" | 307 WriteRegStr HKCR "Octave.Document.$VERSION\\DefaultIcon" "" "\$INSTDIR\\$ICON" |
308 ; document actions | 308 ; document actions |
309 WriteRegStr HKCR "Octave.Document.$VERSION\\shell\\open\\command" "" '"\$INSTDIR\\bin\\octave-gui.exe" --force-gui --persist --eval "edit '%1'"' | 309 WriteRegStr HKCR "Octave.Document.$VERSION\\shell\\open\\command" "" "\$\\"\$INSTDIR\\bin\\octave-gui.exe\$\\" --force-gui --persist --eval \$\\"edit '%1'\$\\"" |
310 | 310 |
311 \${If} \$RegisterOctaveFileType == \${BST_CHECKED} | 311 \${If} \$RegisterOctaveFileType == \${BST_CHECKED} |
312 ReadRegStr \$0 HKCR ".m" "" | 312 ReadRegStr \$0 HKCR ".m" "" |
313 StrCmp "\$0" "" no_back_type | 313 StrCmp "\$0" "" no_back_type |
314 WriteRegStr HKCR ".m" "backup_val" "\$0" | 314 WriteRegStr HKCR ".m" "backup_val" "\$0" |