- cd ${queuedir}/${queue}/COMMENTS
- comments=$(find . -maxdepth 1 -mindepth 1 -type f '(' -name "ACCEPT.*.changes" -o -name "REJECT.*.changes" ')' | sed -e "s,./,," | xargs)
- if [ -n "$comments" ]; then
+ echo "$timestamp: processing ${queue}" >> ${report}
+ dak process-policy ${queue} >> ${report}
+ accepted=$(find ${queuedir}/accepted -type f -name "*.changes")
+ if [ -n "${accepted}" ]; then