forked from ungleich-public/cdist
		
	But, if we use export on every variable, it's documented plus clear that we wanted it to do
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								3f1078e97c
							
						
					
				
			
			
				commit
				
					
						4d1dcf8177
					
				
			
		
					 2 changed files with 1 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -27,9 +27,6 @@
 | 
			
		|||
: ${CDIST_HOSTS:=$CDIST_CONFIG/hosts}
 | 
			
		||||
: ${CDIST_MODULES:=$CDIST_CONFIG/modules}
 | 
			
		||||
 | 
			
		||||
# always export variables -- needed if everything gets sourced?
 | 
			
		||||
set -a
 | 
			
		||||
 | 
			
		||||
cdist_debug_echo()
 | 
			
		||||
{
 | 
			
		||||
   [ "$CDIST_DEBUG" ] && echo "Debug: $@"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										1
									
								
								doc_show_all_exported_variables
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								doc_show_all_exported_variables
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1 @@
 | 
			
		|||
cat bin/* | awk '/^export/ { print $2 }'
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue