mirror of
				https://github.com/hauke68/Magallanes.git
				synced 2025-11-04 09:00:18 +01:00 
			
		
		
		
	Issue #72
Add -h option to tar command deployment strategy.
     -h, --dereference
           follow symlinks; archive and dump the files they point to
			
			
This commit is contained in:
		
							parent
							
								
									5d728a9105
								
							
						
					
					
						commit
						7e2d7d4e57
					
				@ -67,7 +67,7 @@ class TarGzTask extends BaseStrategyTaskAbstract implements IsReleaseAware
 | 
				
			|||||||
            $excludeCmd .= ' --exclude=' . $excludeFile;
 | 
					            $excludeCmd .= ' --exclude=' . $excludeFile;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        $command = 'tar cfz ' . $localTarGz . '.tar.gz ' . $excludeCmd . ' -C ' . $this->getConfig()->deployment('from') . ' .';
 | 
					        $command = 'tar cfzh ' . $localTarGz . '.tar.gz ' . $excludeCmd . ' -C ' . $this->getConfig()->deployment('from') . ' .';
 | 
				
			||||||
        $result = $this->runCommandLocal($command);
 | 
					        $result = $this->runCommandLocal($command);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        // Copy Tar Gz  to Remote Host
 | 
					        // Copy Tar Gz  to Remote Host
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user