forked from ungleich-public/cdist
		
	find functions
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								44bc8da5b3
							
						
					
				
			
			
				commit
				
					
						ef35d00931
					
				
			
		
					 1 changed files with 5 additions and 4 deletions
				
			
		|  | @ -21,12 +21,13 @@ | ||||||
| 
 | 
 | ||||||
| . cdist-config | . cdist-config | ||||||
| 
 | 
 | ||||||
| cd ${CDIST_LIBDIR} | find "${CDIST_LIBDIR}" -type f -name cdist_explore\* > "${CDIST_TMP}" | ||||||
| 
 | 
 | ||||||
| for func in cdist_explore_*; do | while read funcfull; do | ||||||
|    #func="cdist_explore_$report" |    sh="${funcfull##*/}" | ||||||
|  |    func="${sh%.sh}" | ||||||
|    var="__$func" |    var="__$func" | ||||||
| 
 | 
 | ||||||
|    eval $var=\"\$\($func\)\" |    eval $var=\"\$\($func\)\" | ||||||
|    eval echo $var=\\\"\$$var\\\" |    eval echo $var=\\\"\$$var\\\" | ||||||
| done | done < "${CDIST_TMP}" | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue