annotate installer-files/cmdshell.bat @ 4740:9942a9c37ffe

remove octave 'alpha' package * octave-1-gnulib.patch, octave.mk: Delete. * dist-files.mk: Update. * index.html: Delete entry for octave. * configure.ac: Don't handle 'alpha' in --enable-octave=VERSION option. (AC_CONFIG_SRCDIR): Look for src/default-octave.mk instead of src/octave.mk.
author John W. Eaton <jwe@octave.org>
date Tue, 26 Jun 2018 13:22:51 -0400
parents 0fdeee4cfe11
children 202fa20cf559
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3963
9d402d735dd1 nsis-installer: add bash window menu if devel tools enabled
John Donoghue
parents:
diff changeset
1 @echo off
9d402d735dd1 nsis-installer: add bash window menu if devel tools enabled
John Donoghue
parents:
diff changeset
2
4062
57bc5d4ff660 cmdshell: use OCTAVE_HOME variable instead of OCT_HOME
John D
parents: 3963
diff changeset
3 set OCTAVE_HOME=%~dp0
4257
8f71549f53b9 cmdshell: set HOME and OCTAVE_HOME without spaces (Bug #49765)
John D
parents: 4232
diff changeset
4 Rem convert to 8.3 format
8f71549f53b9 cmdshell: set HOME and OCTAVE_HOME without spaces (Bug #49765)
John D
parents: 4232
diff changeset
5 for %%I in ("%OCTAVE_HOME%") do set OCTAVE_HOME=%%~sI
3963
9d402d735dd1 nsis-installer: add bash window menu if devel tools enabled
John Donoghue
parents:
diff changeset
6
9d402d735dd1 nsis-installer: add bash window menu if devel tools enabled
John Donoghue
parents:
diff changeset
7 Rem Set up PATH. Make sure the octave bin dir
9d402d735dd1 nsis-installer: add bash window menu if devel tools enabled
John Donoghue
parents:
diff changeset
8 Rem comes first.
9d402d735dd1 nsis-installer: add bash window menu if devel tools enabled
John Donoghue
parents:
diff changeset
9
4232
447859733feb Add qt5 to path in cmdshell
John D
parents: 4183
diff changeset
10 set PATH=%OCTAVE_HOME%qt5\bin;%OCTAVE_HOME%bin;%PATH%
3963
9d402d735dd1 nsis-installer: add bash window menu if devel tools enabled
John Donoghue
parents:
diff changeset
11 set TERM=cygwin
4183
cc549d1865cb pstoedit: use GS environment var if set in windows
John D
parents: 4062
diff changeset
12 set GS=gs.exe
4472
0fdeee4cfe11 gnuplot: enable Qt terminal and set default to wxt
Mike Miller <mtmiller@octave.org>
parents: 4257
diff changeset
13 set GNUTERM=wxt
3963
9d402d735dd1 nsis-installer: add bash window menu if devel tools enabled
John Donoghue
parents:
diff changeset
14
4257
8f71549f53b9 cmdshell: set HOME and OCTAVE_HOME without spaces (Bug #49765)
John D
parents: 4232
diff changeset
15 Rem set home if not already set
8f71549f53b9 cmdshell: set HOME and OCTAVE_HOME without spaces (Bug #49765)
John D
parents: 4232
diff changeset
16 if "%HOME%"=="" set HOME=%USERPROFILE%
8f71549f53b9 cmdshell: set HOME and OCTAVE_HOME without spaces (Bug #49765)
John D
parents: 4232
diff changeset
17 if "%HOME%"=="" set HOME=%HOMEDRIVE%%HOMEPATH%
3963
9d402d735dd1 nsis-installer: add bash window menu if devel tools enabled
John Donoghue
parents:
diff changeset
18
4257
8f71549f53b9 cmdshell: set HOME and OCTAVE_HOME without spaces (Bug #49765)
John D
parents: 4232
diff changeset
19 Rem set HOME to 8.3 format
8f71549f53b9 cmdshell: set HOME and OCTAVE_HOME without spaces (Bug #49765)
John D
parents: 4232
diff changeset
20 for %%I in ("%HOME%") do set HOME=%%~sI
3963
9d402d735dd1 nsis-installer: add bash window menu if devel tools enabled
John Donoghue
parents:
diff changeset
21
4257
8f71549f53b9 cmdshell: set HOME and OCTAVE_HOME without spaces (Bug #49765)
John D
parents: 4232
diff changeset
22 %OCTAVE_HOME%\bin\bash.exe --login -i
8f71549f53b9 cmdshell: set HOME and OCTAVE_HOME without spaces (Bug #49765)
John D
parents: 4232
diff changeset
23