find functions

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
remotes/origin/1.0
Nico Schottelius 15 years ago
parent 44bc8da5b3
commit ef35d00931
  1. 9
      bin/cdist-explore

@ -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…
Cancel
Save