Ci-dessous, les différences entre deux révisions de la page.
doc:dak:opt_dak_katie_cron.unchecked [2005/08/03 17:31] lehobey créée |
doc:dak:opt_dak_katie_cron.unchecked [2005/08/03 17:32] lehobey |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | <file> | ||
- | #! /bin/sh | ||
- | set -e | ||
- | export SCRIPTVARS=/opt/dak/katie/vars | ||
- | . $SCRIPTVARS | ||
- | |||
- | cd $unchecked | ||
- | |||
- | changes=$(find . -maxdepth 1 -mindepth 1 -type f -name \*.changes | sed -e "s,./ | ||
- | ,," | xargs) | ||
- | report=$queuedir/REPORT | ||
- | timestamp=$(date "+%Y-%m-%d %H:%M") | ||
- | |||
- | if [ -z "$changes" ]; then | ||
- | echo "$timestamp": Nothing to do >> $report | ||
- | exit 0; | ||
- | fi; | ||
- | |||
- | echo "$timestamp": "$changes" >> $report | ||
- | jennifer -a $changes >> $report | ||
- | echo "--" >> $report | ||
- | |||
- | #sh $masterdir/cron.buildd | ||
- | </file> |