mirror of
				https://github.com/hauke68/Magallanes.git
				synced 2025-11-04 00:50:18 +01:00 
			
		
		
		
	Issue #210
This commit is contained in:
		
							parent
							
								
									ce60a706ac
								
							
						
					
					
						commit
						139b897fe5
					
				@ -73,7 +73,7 @@ class RsyncTask extends BaseStrategyTaskAbstract implements IsReleaseAware
 | 
				
			|||||||
                // rsync: { copy: yes }
 | 
					                // rsync: { copy: yes }
 | 
				
			||||||
                $rsync_copy = $this->getConfig()->deployment('rsync');
 | 
					                $rsync_copy = $this->getConfig()->deployment('rsync');
 | 
				
			||||||
                // If copy_tool_rsync, use rsync rather than cp for finer control of what is copied
 | 
					                // If copy_tool_rsync, use rsync rather than cp for finer control of what is copied
 | 
				
			||||||
                if ($rsync_copy && is_array($rsync_copy) && $rsync_copy['copy'] && is_dir("$releasesDirectory/$currentRelease")) {
 | 
					                if ($rsync_copy && is_array($rsync_copy) && $rsync_copy['copy'] && $this->runCommandRemote('test -d ' . $releasesDirectory . '/' . $currentRelease)) {
 | 
				
			||||||
                    if (isset($rsync_copy['copy_tool_rsync'])) {
 | 
					                    if (isset($rsync_copy['copy_tool_rsync'])) {
 | 
				
			||||||
                        $this->runCommandRemote("rsync -a {$this->excludes(array_merge($excludes, $rsync_copy['rsync_excludes']))} "
 | 
					                        $this->runCommandRemote("rsync -a {$this->excludes(array_merge($excludes, $rsync_copy['rsync_excludes']))} "
 | 
				
			||||||
                                          . "$releasesDirectory/$currentRelease/ $releasesDirectory/{$this->getConfig()->getReleaseId()}");
 | 
					                                          . "$releasesDirectory/$currentRelease/ $releasesDirectory/{$this->getConfig()->getReleaseId()}");
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user