forked from ungleich-public/cdist
		
	begin to cleanup bin/cdist-type-template
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								64826ca5ce
							
						
					
				
			
			
				commit
				
					
						0e42e98bb9
					
				
			
		
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -26,9 +26,11 @@ | |||
| set -eu | ||||
| 
 | ||||
| __cdist_type="$1"; shift | ||||
| __cdist_type_dir="$(__cdist_type_dir "$__cdist_type")" | ||||
| 
 | ||||
| echo "Creating type $__cdist_type in $__cdist_type_dir ..." | ||||
| # Base | ||||
| mkdir -p "$(__cdist_type_dir "$__cdist_type")" | ||||
| mkdir -p "$__cdist_type_dir" | ||||
| 
 | ||||
| # Parameter | ||||
| mkdir -p "$(__cdist_type_parameter_dir "$__cdist_type")" | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue