forked from ungleich-public/cdist
		
	warn about missing manifest (i.e. abort)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								0312bf1b4b
							
						
					
				
			
			
				commit
				
					
						581b29ca97
					
				
			
		
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -47,6 +47,8 @@ cdist-type-build-emulation "${__cdist_out_type_bin_dir}" \
 | 
			
		|||
export PATH="${__cdist_out_type_bin_dir}:$PATH"
 | 
			
		||||
 | 
			
		||||
# Force -x, so the user is aware the file is executed
 | 
			
		||||
[ -f "${__cdist_manifest}" ] \
 | 
			
		||||
   || __cdist_exit_err "Missing manifest ${__cdist_manifest}"
 | 
			
		||||
[ -x "${__cdist_manifest}" ] \
 | 
			
		||||
   || __cdist_exit_err "${__cdist_manifest} needs to be executable."
 | 
			
		||||
mkdir -p "${__cdist_output_dir}" \
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue