Changeset 1643


Ignore:
Timestamp:
Sep 11, 2010, 5:25:16 PM (11 years ago)
Author:
achernya
Message:
Updated grep to handle the newlines in missing.rpms file generated, which should remove false positives in rpm-master.sh
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/locker/sbin/rpm-master.sh

    r1642 r1643  
    2828done
    2929
    30 if [ `grep -c -v "missing" missing.rpms` -gt 0 ]; then
     30if [ `egrep -c -v '(missing)|(^$)' missing.rpms` -gt 0 ]; then
    3131    echo "Sending email..."
    3232    cat missing.rpms | mail -s "scripts.mit.edu servers are out of sync" root@scripts.mit.edu
Note: See TracChangeset for help on using the changeset viewer.