体验新版 GitCode,发现更多精彩内容 >>
#! /bin/sh set -e
export SCRIPTVARS=/org/non-us.debian.org/dak/config/debian-non-US/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": "$changes" >> $report
dak process-unchecked -a $changes >> $report
echo "--" >> $report else echo "$timestamp": Nothing to do >> $report fi;