Mercurial > mxe-octave
comparison installer-files/octave.vbs @ 3831:1191cff7f132
nsis installer: change file registrations to use octave.vbs
* makeinst-script.sh: change file registrations to use octave.vbs
* installer-files/octave.vbs: add bin folder to path
author | John D |
---|---|
date | Wed, 04 Mar 2015 18:37:07 -0500 |
parents | 6daa158a7018 |
children | 74f53761f74d |
comparison
equal
deleted
inserted
replaced
3830:c2abfa00fca5 | 3831:1191cff7f132 |
---|---|
7 OctavePath = fso.GetParentFolderName(WScript.ScriptFullName) | 7 OctavePath = fso.GetParentFolderName(WScript.ScriptFullName) |
8 Set fso = Nothing | 8 Set fso = Nothing |
9 | 9 |
10 ' set up path to ensure octave bin comes first | 10 ' set up path to ensure octave bin comes first |
11 Set wshSystemEnv = wshShell.Environment( "PROCESS" ) | 11 Set wshSystemEnv = wshShell.Environment( "PROCESS" ) |
12 wshSystemEnv("PATH") = OctavePath & ";" & wshSystemEnv("PATH") | 12 wshSystemEnv("PATH") = OctavePath & "\bin;" & wshSystemEnv("PATH") |
13 | 13 |
14 ' set terminal type | 14 ' set terminal type |
15 wshSystemEnv("TERM") = "cygwin" | 15 wshSystemEnv("TERM") = "cygwin" |
16 | 16 |
17 ' check args to see if told to run gui or command line | 17 ' check args to see if told to run gui or command line |