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:
parent
abc74c7fb5
commit
c0444a81b2
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue