Escape " from remote commands.

This commit is contained in:
Andrés Montañez
2012-10-24 19:52:29 -02:00
parent ad6f3cb6ee
commit 14b36eab88
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ class Mage_Task_BuiltIn_Deployment_Release
// Fetch the user and group from base directory
$userGroup = '33:33';
$resultFetch = $this->_runRemoteCommand('ls -ld . | awk \'{print \$3\":\"\$4}\'', $userGroup);
$resultFetch = $this->_runRemoteCommand('ls -ld . | awk \'{print \$3":"\$4}\'', $userGroup);
// Remove symlink if exists; create new symlink and change owners
$command = 'rm -f ' . $symlink