mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-24 01:02:24 +01:00
Merge pull request #766 from torvitas/fixes-chmod-for-bsd
changes flag order for chmod to work on bsd
This commit is contained in:
commit
fa46d3f58f
@ -315,11 +315,11 @@ task('deploy:writable', function () {
|
||||
}
|
||||
}
|
||||
} 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
|
||||
} else {
|
||||
run("$sudo chmod 777 -R $dirs");
|
||||
run("$sudo chmod -R 777 $dirs");
|
||||
}
|
||||
} catch (\RuntimeException $e) {
|
||||
$formatter = \Deployer\Deployer::get()->getHelper('formatter');
|
||||
|
Loading…
x
Reference in New Issue
Block a user