Lines Matching +full:valid +full:- +full:sources
30 # \file admin/check-style.sh
64 find . -type f -a \
65 \! -path "*/.git/*" \
66 \! -path "*/.deps/*" \
67 \! -path "*/autom4te.cache/*" \
68 \! -path "*/${tarname}-[0-9]*/*" \
69 \! -path "*/${builddir##*/}/*" \
70 \! -name "Makefile.in" \
71 \! -name "aclocal.m4" \
72 \! -name "config.h.in" \
73 \! -name "configure" \
74 \! -name "testsuite"
89 *.[0-9]) echo common man ;;
102 # \return 0 if the file is valid; 1 otherwise, in which case the style
110 awk -f "${srcdir}/admin/check-style-${rule}.awk" \
140 err "Unknown option -${OPTARG}"
144 shift $(expr ${OPTIND} - 1)
146 srcdir="$(cd "${srcdir}" && pwd -P)"
147 builddir="$(cd "${builddir}" && pwd -P)"
152 local sources
153 if [ ${#} -gt 0 ]; then
154 sources="${@}"
156 sources="$(find_sources "${srcdir}" "${builddir}" "${tarname}")"
160 for file in ${sources}; do
161 local file="$(echo ${file} | sed -e "s,\\./,,")"