mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-24 09:12:51 +01:00
changes flag order for chmod to work on bsd
This commit is contained in:
parent
702c9b082f
commit
f38bd436f0
@ -327,11 +327,11 @@ task('deploy:writable', function () {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
run("$sudo chmod 777 -R $dirs");
|
run("$sudo chmod -R 777 $dirs");
|
||||||
}
|
}
|
||||||
// If we are not on OS-X and have no ACL installed use POSIX
|
// If we are not on OS-X and have no ACL installed use POSIX
|
||||||
} else {
|
} else {
|
||||||
run("$sudo chmod 777 -R $dirs");
|
run("$sudo chmod -R 777 $dirs");
|
||||||
}
|
}
|
||||||
} catch (\RuntimeException $e) {
|
} catch (\RuntimeException $e) {
|
||||||
$formatter = \Deployer\Deployer::get()->getHelper('formatter');
|
$formatter = \Deployer\Deployer::get()->getHelper('formatter');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user