From 3211238a950c2292fbdffcf80f3f944ae0906395 Mon Sep 17 00:00:00 2001 From: Bob Trahan Date: Mon, 1 Oct 2012 15:15:07 -0700 Subject: [PATCH] Fix a bug found by vrana in audit Summary: seen https://secure.phabricator.com/rPf5e71eb88920d4afb5590b0682eda66f09b2c024 Test Plan: i believe in vrana. Reviewers: vrana Reviewed By: vrana CC: aran, epriestley Differential Revision: https://secure.phabricator.com/D3588 --- scripts/__init_script__.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/__init_script__.php b/scripts/__init_script__.php index f984c57945..24900a6b7b 100644 --- a/scripts/__init_script__.php +++ b/scripts/__init_script__.php @@ -83,6 +83,6 @@ PhutilTranslator::getInstance() $paths = PhabricatorEnv::getEnvConfig('environment.append-paths'); if (!empty($paths)) { $current_env_path = getenv('PATH'); - $new_env_paths = implode(':', $paths); - putenv('PATH='.$current_env_path.':'.$new_env_paths); + $new_env_paths = implode(PATH_SEPARATOR, $paths); + putenv('PATH='.$current_env_path.PATH_SEPARATOR.$new_env_paths); }