no export needed, so remove it
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								d80d9738ef
							
						
					
				
			
			
				commit
				
					
						616fd954e8
					
				
			
		
					 1 changed files with 6 additions and 5 deletions
				
			
		|  | @ -29,12 +29,12 @@ if [ $# -ne 5 ]; then | ||||||
| fi | fi | ||||||
| set -ue | set -ue | ||||||
| 
 | 
 | ||||||
| export __cdist_target_host="$1"; shift | __cdist_target_host="$1"; shift | ||||||
| 
 | 
 | ||||||
| export __cdist_local_src_dir="$1"; shift | __cdist_local_src_dir="$1"; shift | ||||||
| export __cdist_local_dst_dir="$1"; shift | __cdist_local_dst_dir="$1"; shift | ||||||
| export __cdist_remote_src_dir="$1"; shift | __cdist_remote_src_dir="$1"; shift | ||||||
| export __cdist_remote_dst_dir="$1"; shift | __cdist_remote_dst_dir="$1"; shift | ||||||
| 
 | 
 | ||||||
| ################################################################################ | ################################################################################ | ||||||
| # New code | # New code | ||||||
|  | @ -60,6 +60,7 @@ fi | ||||||
| # Copy all explorers to remote source directory | # Copy all explorers to remote source directory | ||||||
| scp * "${__cdist_remote_user}@${__cdist_target_host}:${__cdist_remote_src_dir}" | scp * "${__cdist_remote_user}@${__cdist_target_host}:${__cdist_remote_src_dir}" | ||||||
| 
 | 
 | ||||||
|  | # Execute all explorers | ||||||
| for explorer in *; do | for explorer in *; do | ||||||
|    # Execute explorers and save results in remote destination directory |    # Execute explorers and save results in remote destination directory | ||||||
|    ssh "${__cdist_remote_user}@${__cdist_target_host}" \ |    ssh "${__cdist_remote_user}@${__cdist_target_host}" \ | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue