use same argv processing as elsewhere
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								10c96dee87
							
						
					
				
			
			
				commit
				
					
						78777ba9f3
					
				
			
		
					 1 changed files with 1 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -25,9 +25,7 @@
 | 
			
		|||
#
 | 
			
		||||
 | 
			
		||||
. cdist-config
 | 
			
		||||
if [ $# -ne 3 ]; then
 | 
			
		||||
   __cdist_usage "<variable name> <explorer dir> <out dir>"
 | 
			
		||||
fi
 | 
			
		||||
[ $# -eq 3 ] || __cdist_usage "<variable name> <explorer dir> <out dir>"
 | 
			
		||||
set -ue
 | 
			
		||||
 | 
			
		||||
# Variable that defines the home of the explorers
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue