changes flag order for chmod to work on bsd

This commit is contained in:
Sascha Marcel Schmidt 2016-08-31 15:59:55 +02:00 committed by Sascha Marcel Schmidt
parent 702c9b082f
commit f38bd436f0

View File

@ -327,11 +327,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');