%BASE% was broken

I haven't pinned down which change caused this, but `%BASE%` was supposed to point to a directory and not the executable.
pull/106/head
Kohsuke Kawaguchi 2015-04-02 19:53:35 -07:00
parent 20cdd534d8
commit 2bf9e858a9
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ namespace winsw
dom.Load(BasePath + ".xml");
// register the base directory as environment variable so that future expansions can refer to this.
Environment.SetEnvironmentVariable("BASE", p);
Environment.SetEnvironmentVariable("BASE", d.FullName);
// ditto for ID
Environment.SetEnvironmentVariable("SERVICE_ID", Id);
Environment.SetEnvironmentVariable("WINSW_EXECUTABLE", ExecutablePath);