Permalink
Browse files

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
  • Loading branch information...
vrana committed Apr 20, 2013
1 parent 07fba2a commit c0ff9852afa3acc9d212d9865b3360cfea780cfc
Showing with 1 addition and 3 deletions.
  1. +1 −3 src/workflow/ArcanistBaseWorkflow.php
@@ -1165,11 +1165,9 @@ protected function getPassthruArgumentsAsArgv($command) {
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';
}

0 comments on commit c0ff985

Please sign in to comment.