setup: Fix octdec for directory modes

Modes prefixed w/ zero, e.g. 0775 require a string conversion before calling octdec.
This commit is contained in:
Eric Lippmann 2015-01-19 11:14:24 +01:00
parent abc74c7fb5
commit c0444a81b2
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ class MakeDirStep extends Step
public function __construct($paths, $dirmode)
{
$this->paths = $paths;
$this->dirmode = octdec($dirmode);
$this->dirmode = octdec((string) $dirmode);
$this->errors = array();
}