mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-22 14:52:40 +01:00
Move Arcanist machine config location on Windows
Test Plan: $ set # on Windows Reviewers: epriestley, dschleimer Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D5733
This commit is contained in:
parent
07fba2a49b
commit
c0ff9852af
1 changed files with 1 additions and 3 deletions
|
@ -1165,11 +1165,9 @@ abstract class ArcanistBaseWorkflow extends Phobject {
|
|||
|
||||
public static function getSystemArcConfigLocation() {
|
||||
if (phutil_is_windows()) {
|
||||
// this is a horrible place to put this, but there doesn't seem to be a
|
||||
// non-horrible place on Windows
|
||||
return Filesystem::resolvePath(
|
||||
'Phabricator/Arcanist/config',
|
||||
getenv('PROGRAMFILES'));
|
||||
getenv('ProgramData'));
|
||||
} else {
|
||||
return '/etc/arcconfig';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue