You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
grammar-cover run-and-email fixup
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
USER=${USER:-rocky}
|
USER=${USER:-rocky}
|
||||||
EMAIL=${EMAIL:-rb@dustyfeet.com}
|
EMAIL=${EMAIL:-rb@dustyfeet.com}
|
||||||
SUBJECT_PREFIX="grammar cover testing for"
|
SUBJECT_PREFIX="grammar cover testing for"
|
||||||
|
LOGFILE=/tmp/grammar-cover-$$.log
|
||||||
/bin/bash ./grammar-all.sh >$LOGFILE 2>&1
|
/bin/bash ./grammar-all.sh >$LOGFILE 2>&1
|
||||||
rc=$?
|
rc=$?
|
||||||
if ((rc == 0)); then
|
if ((rc == 0)); then
|
||||||
@@ -10,4 +11,3 @@ else
|
|||||||
tail -v $LOGFILE | mail -s "$SUBJECT_PREFIX not ok" ${USER}@localhost
|
tail -v $LOGFILE | mail -s "$SUBJECT_PREFIX not ok" ${USER}@localhost
|
||||||
tail -v $LOGFILE | mail -s "$SUBJECT_PREFIX not ok" $EMAIL
|
tail -v $LOGFILE | mail -s "$SUBJECT_PREFIX not ok" $EMAIL
|
||||||
fi
|
fi
|
||||||
done
|
|
||||||
|
Reference in New Issue
Block a user