From a85b8a04ab2c2192e3dee50c15215965e34fcbde Mon Sep 17 00:00:00 2001 From: Anton Medvedev Date: Tue, 19 May 2015 14:58:32 +0700 Subject: [PATCH] Update common.php --- recipe/common.php | 1 + 1 file changed, 1 insertion(+) diff --git a/recipe/common.php b/recipe/common.php index 8c34ffab..e4e78f51 100644 --- a/recipe/common.php +++ b/recipe/common.php @@ -58,6 +58,7 @@ task('deploy:prepare', function () { // Check if shell is POSIX-compliant try { + cd(''); // To run command as raw. run('echo $0'); } catch (\RuntimeException $e) { $formatter = \Deployer\Deployer::get()->getHelper('formatter');