scripts/repocheck/commit-checker
changeset 2311 2c17006ec9c3
parent 2299 227ea098a6b6
equal deleted inserted replaced
2:4707dc3bfb77 3:c7c112faab6f
    73 
    73 
    74 while im-not-the-next; do
    74 while im-not-the-next; do
    75     sleep 10
    75     sleep 10
    76 done
    76 done
    77 
    77 
    78 echo RUN $REV
    78 # echo RUN $REV
    79 
    79 
    80 svn up -r$REV trunk >${LOGFILE} 2>&1
    80 svn up -r$REV trunk >${LOGFILE} 2>&1
    81 
    81 
    82 AUTHOR=`svn info trunk|grep 'Last Changed Author:'|cut -d ' ' -f 4`
    82 AUTHOR=`svn info trunk|grep 'Last Changed Author:'|cut -d ' ' -f 4`
    83 EMAIL=`awk '$1=="'${AUTHOR}'" {print $2}' <${ROOT}/e-mails`
    83 EMAIL=`awk '$1=="'${AUTHOR}'" {print $2}' <${ROOT}/e-mails`
    91 '>>${LOGFILE} 2>&1
    91 '>>${LOGFILE} 2>&1
    92 
    92 
    93 if check-compilers >>${LOGFILE} 2>&1
    93 if check-compilers >>${LOGFILE} 2>&1
    94 then
    94 then
    95     echo -n
    95     echo -n
    96     echo OK $AUTHOR $EMAIL $REV
    96 #    echo OK $AUTHOR $EMAIL $REV
    97 else
    97 else
    98     echo NEMOK $AUTHOR $EMAIL $REV
    98 #    echo NEMOK $AUTHOR $EMAIL $REV
    99     echo 'Dear '${AUTHOR}',
    99     echo 'Dear '${AUTHOR}',
   100 Your svn commit -r'${REV}' made the repository broken.
   100 Your svn commit -r'${REV}' made the repository broken.
   101 The compilation log is attached.
   101 The compilation log is attached.
   102 Please fix the problem as soon as possible.
   102 Please fix the problem as soon as possible.
   103 
   103