find functions

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2010-09-25 12:28:40 +02:00
parent 44bc8da5b3
commit ef35d00931

View file

@ -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}"