Commit 1d6f801d authored by John van Groningen's avatar John van Groningen

use EnvsDirName, BatchBuild on windows now uses IDEEnvs in the Config subdirectory,

instead of the BatchBuild.exe directory
parent 6a183e67
......@@ -7,7 +7,7 @@ import PmProject
import IdeState
from UtilIO import GetFullApplicationPath,GetLongPathName
import PmEnvironment, logfile, set_return_code
from Platform import application_path
from Platform import application_path,EnvsDirName
Start world
# commandline = getCommandLine
......@@ -21,7 +21,7 @@ Start world
_
-> (False,False,"")
# (startup,world) = accFiles GetFullApplicationPath world
# envspath = application_path EnvsFileName
# envspath = application_path (EnvsDirName+++EnvsFileName)
# (envs,world) = openEnvironments startup envspath world
// | not ok = wAbort ("Unable to read environments\n") world
| not path_ok = wAbort ("BatchBuild\nUse as: 'BatchBuild [--force] projectname.prj'\n") world
......@@ -42,15 +42,10 @@ where
= abortLog (not bool2) "" ps
wAbort message world
// # (console,world) = stdio world
// # console = console <<< message
// # (_,world) = fclose console world
# stderr = fwrites message stderr
# (ok,world) = fclose stderr world
# world = set_return_code_world (-1) world
= finish world
//finish :: !*World -> String
//finish _ = ""
finish w = w
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment