Mercurial > mxe-octave
diff tools/makeinst-script.sh.in @ 4258:a45374f7d9a3
Use 8.3 format for octave path
* installer-files/octave-firsttime.vbs: convert OctavePath to shortpath
* installer-files/octave.vbs: convert OctavePath to shortpath
* installer-files/octave.bat: convert OCT_HOME to 8.3 path
* tools/makeinst-script.sh.in: call pkg rbuild and fc_cache with 8.3 pathname
author | John D |
---|---|
date | Tue, 06 Dec 2016 02:27:58 -0500 |
parents | ee1ae5d1fd88 |
children | 2f1309f19b49 |
line wrap: on
line diff
--- a/tools/makeinst-script.sh.in Mon Dec 05 17:46:56 2016 -0500 +++ b/tools/makeinst-script.sh.in Tue Dec 06 02:27:58 2016 -0500 @@ -255,8 +255,9 @@ Pop \$0 ; run fc-cache updater + GetFullPathName /SHORT \$1 \$INSTDIR DetailPrint "Building font cache (may take a while)" - ExecWait "\$INSTDIR\\fc_update.bat" + ExecWait "\$1\\fc_update.bat" SectionEnd Section make_uninstaller @@ -344,8 +345,9 @@ Section "InstallPackages" ; fix the installed packages (if any) - SetOutPath "\$INSTDIR" - ExecWait '"\$INSTDIR\\bin\\octave-cli.exe" --no-gui -W -H -f -q --eval "pkg rebuild"' \$0 + GetFullPathName /SHORT \$1 \$INSTDIR + SetOutPath "\$1" + ExecWait '"\$1\\bin\\octave-cli.exe" --no-gui -W -H -f -q --eval "pkg rebuild"' \$0 SectionEnd Section "Uninstall"