From 78d4d89a497ec421ea4fb9cc38d5a47d33c43a28 Mon Sep 17 00:00:00 2001 From: Elfet Date: Wed, 13 Aug 2014 13:07:10 +0400 Subject: [PATCH] Fix setfacl task php 5.4 bug. --- recipe/symfony.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipe/symfony.php b/recipe/symfony.php index 9679863c..20a6ea80 100644 --- a/recipe/symfony.php +++ b/recipe/symfony.php @@ -35,7 +35,8 @@ task('deploy:permissions:setfacl', function () { $dirs = (array)get('writeable_dirs', ['app/cache', 'app/logs']); - if (empty(run("if which setfacl; then echo \"ok\"; fi"))) { + $run = run("if which setfacl; then echo \"ok\"; fi"); + if (empty($run)) { writeln('Enable ACL support and install "setfacl"'); return; }