You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
14 lines
427 B
Bash
Executable File
14 lines
427 B
Bash
Executable File
#!/bin/bash
|
|
USER=${USER:-rocky}
|
|
EMAIL=${EMAIL:-rb@dustyfeet.com}
|
|
SUBJECT_PREFIX="grammar cover testing for"
|
|
LOGFILE=/tmp/grammar-cover-$$.log
|
|
/bin/bash ./grammar-all.sh >$LOGFILE 2>&1
|
|
rc=$?
|
|
if ((rc == 0)); then
|
|
tail -v $LOGFILE | mail -s "$SUBJECT_PREFIX ok" ${USER}@localhost
|
|
else
|
|
tail -v $LOGFILE | mail -s "$SUBJECT_PREFIX not ok" ${USER}@localhost
|
|
tail -v $LOGFILE | mail -s "$SUBJECT_PREFIX not ok" $EMAIL
|
|
fi
|