1#!/bin/bash 2 3CINDER_DIR='cinder/' # include trailing slash 4DOCS_DIR='source' 5 6modules='' 7for x in `find ${CINDER_DIR} -name '*.py' | grep -v cinder/tests`; do 8 if [ `basename ${x} .py` == "__init__" ] ; then 9 continue 10 fi 11 relative=cinder.`echo ${x} | sed -e 's$^'${CINDER_DIR}'$$' -e 's/.py$//' -e 's$/$.$g'` 12 modules="${modules} ${relative}" 13done 14 15for mod in ${modules} ; do 16 if [ ! -f "${DOCS_DIR}/${mod}.rst" ]; 17 then 18 echo ${mod} 19 fi 20done 21