Mercurial > mxe-octave
comparison installer-files/octave-bat-no-short-path.patch @ 5650:6805ab42c8aa
Don't convert to short paths for default-octave target (bug #59923).
* installer-files/octave-no-shortpath.patch,
installer-files/octave-bat-no-shortpath.patch,
installer-files/cmdshell-no-shortpath.patch: Add patches that remove
conversion of path to short file names from scripts.
* binary-dist-rules.mk: Apply new patches for default-octave target.
* dist-files.mk: Add new files to build system.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sun, 31 Jan 2021 18:38:38 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
5649:27b4f385c45d | 5650:6805ab42c8aa |
---|---|
1 # HG changeset patch | |
2 # User Markus Mützel <markus.muetzel@gmx.de> | |
3 # Date 1612087592 -3600 | |
4 # Sun Jan 31 11:06:32 2021 +0100 | |
5 # Node ID f08191da8e416c32d950679a78fe194e2753372e | |
6 # Parent fea266f67443b890a67f80336aee03c40d3a1faa | |
7 Don't use short paths (bug #59923). | |
8 | |
9 diff -r fea266f67443 -r f08191da8e41 octave.bat | |
10 --- a/octave.bat Sun Jan 31 10:59:32 2021 +0100 | |
11 +++ b/octave.bat Sun Jan 31 11:06:32 2021 +0100 | |
12 @@ -8,9 +8,6 @@ | |
13 Rem Note: the result ends with a backslash. | |
14 set OCT_HOME=%~dp0\.\..\ | |
15 set ROOT_PATH=%~dp0\.\..\..\ | |
16 -Rem Convert to 8.3 format so we don't have to worry about spaces. | |
17 -for %%I in ("%OCT_HOME%") do set OCT_HOME=%%~sI | |
18 -for %%I in ("%ROOT_PATH%") do set ROOT_PATH=%%~sI | |
19 | |
20 set MSYSTEM=MSYS | |
21 set MSYSPATH=%OCT_HOME% | |
22 @@ -44,8 +41,6 @@ | |
23 Rem set home if not already set | |
24 if "%HOME%"=="" set HOME=%USERPROFILE% | |
25 if "%HOME%"=="" set HOME=%HOMEDRIVE%%HOMEPATH% | |
26 -Rem set HOME to 8.3 format | |
27 -for %%I in ("%HOME%") do set HOME=%%~sI | |
28 | |
29 Rem Check for args to determine if GUI (--gui, --force-gui) | |
30 Rem or CLI (--no-gui) should be started. |