]> git.decadent.org.uk Git - dak.git/blob - config/debian-non-US/cron.unchecked
Stop using silly names, and migrate to a saner directory structure.
[dak.git] / config / debian-non-US / cron.unchecked
1 #! /bin/sh
2
3 set -e
4 export SCRIPTVARS=/org/non-us.debian.org/katie/vars-non-US
5 . $SCRIPTVARS
6
7 cd $unchecked
8
9 changes=$(find . -maxdepth 1 -mindepth 1 -type f -name \*.changes | sed -e "s,./,," | xargs)
10 report=$queuedir/REPORT
11 timestamp=$(date "+%Y-%m-%d %H:%M")
12
13 if [ ! -z "$changes" ]; then
14   echo "$timestamp": "$changes"  >> $report
15   jennifer -a $changes >> $report
16   echo "--" >> $report
17 else
18   echo "$timestamp": Nothing to do >> $report
19 fi;