Page MenuHomePhabricator
Paste P1002

propagate_env.diff
ActivePublic

Authored by epriestley on Nov 25 2013, 1:44 AM.
Tags
None
Referenced Files
F84699: propagate_env.diff
Nov 25 2013, 1:44 AM
Subscribers
None
diff --git a/src/applications/repository/storage/PhabricatorRepository.php b/src/applications/repository/storage/PhabricatorRepository.php
index 0591f29..8061043 100644
--- a/src/applications/repository/storage/PhabricatorRepository.php
+++ b/src/applications/repository/storage/PhabricatorRepository.php
@@ -298,6 +298,7 @@ final class PhabricatorRepository extends PhabricatorRepositoryDAO
// This makes stuff print in English instead of, e.g., French, so we can
// parse the output of some commands, error messages, etc.
'LANG' => 'C',
+ 'PHABRICATOR_ENV' => PhabricatorEnv::getSelectedEnvironmentName(),
);
switch ($this->getVersionControlSystem()) {

Event Timeline