annotate installer-files/cmdshell.bat @ 4355:7f5714e37725

gnupplot: use -std=gnu++11 option when compiling gnuplot for mingw * src/gnuplot add -std=gnu++11 to CXX
author John D
date Thu, 23 Feb 2017 14:08:40 -0500
parents 8f71549f53b9
children 0fdeee4cfe11
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
4232
447859733feb Add qt5 to path in cmdshell
John D
parents: 4183
diff changeset
13 set GNUTERM=windows
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