diff --git a/phploy b/phploy index 2600a28..46b46c3 100644 --- a/phploy +++ b/phploy @@ -1,14 +1,15 @@ -#!/usr/bin/php +#!/usr/bin/env php + * @author Fadion Dashi * @author Bruno De Barros * @link http://wplancer.com * @licence MIT Licence - * @version 1.2.2 + * @version 1.2.3 */ /** @@ -184,7 +185,7 @@ class PHPloy { $this->output('Fresh deployment - grab a ☕'); } - if( $remote_revision ) ) { + if( $remote_revision ) { $command = "git --git-dir=\"$this->repo/.git\" --work-tree=\"$this->repo\" diff --name-status {$remote_revision }...{$local_revision}"; exec( $command, $output );