Added interpolation support to Env plugin

This commit is contained in:
Steve Kamerman 2013-05-22 15:54:18 -04:00
parent 0a755cedae
commit d7c62f3609

View file

@ -41,7 +41,7 @@ class Env implements \PHPCI\Plugin
$env_var = "$key=$value"; $env_var = "$key=$value";
} }
if (!putenv($env_var)) { if (!putenv($this->phpci->interpolate($env_var))) {
$success = false; $success = false;
$this->phpci->logFailure("Unable to set environment variable"); $this->phpci->logFailure("Unable to set environment variable");
} }