Changeset 28491 for other-projects

Show
Ignore:
Timestamp:
17.10.2013 19:24:39 (6 years ago)
Author:
ak19
Message:

Some minor improvements.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • other-projects/gti/translation_status.sh

    r28490 r28491  
    4545    echo "No files modified" >> $report 
    4646else 
    47     echo "" 
    48     echo "The above files were modified ($num_modified number of files)." >> $report 
     47    echo "" >> $report 
     48    echo "The above $num_modified files were modified." >> $report 
    4949fi 
    5050 
     
    5454if [[ $num_modified != 0 ]]; then 
    5555#  echo "Files were modified. Sending email..."   
    56   cat $report | mail -s 'TRANSLATION files on nzdl have been updated' $GREENSTONE_EMAIL 
     56    cat $report | mail -s 'GTI: '$num_modified' language file(s) on nzdl have been updated' $GREENSTONE_EMAIL 
     57    echo "Sent mail of report: $report" 
     58else 
     59    echo "No files modified. Not sending mail." 
    5760fi