make PATH setting independent of further code
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								7a294bf41d
							
						
					
				
			
			
				commit
				
					
						79eec9bd23
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -28,4 +28,4 @@ set -ue | ||||||
| __cdist_target_host="$1"; shift | __cdist_target_host="$1"; shift | ||||||
| 
 | 
 | ||||||
| ssh "${__cdist_remote_user}@${__cdist_target_host}"   \ | ssh "${__cdist_remote_user}@${__cdist_target_host}"   \ | ||||||
|    "PATH=\"${__cdist_remote_bin_dir}:\$PATH\"" "$@" |    "export PATH=\"${__cdist_remote_bin_dir}:\$PATH\";" "$@" | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue