Show
Ignore:
Timestamp:
21.07.2016 15:57:07 (3 years ago)
Author:
ak19
Message:

Don't send nightly email messages about updates to the test language files, since they're never committed and always appear updated, resulting in daily emails.

Files:
1 modified

Legend:

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

    r30605 r30613  
    3434# http://stackoverflow.com/questions/10515964/counter-increment-in-bash-loop-not-working 
    3535for file in ${filelisting[@]}; do 
    36     status=`svn status $file` 
    37     # "LINE: $file - status: $status" 
    38     # if the file's svn status is modified, write the filename out to the report 
    39     if [[ "$status" == *"M "* ]]; then 
    40     #echo "$file has been modified: $status" 
    41     echo $status >> $report #echo $file >> $report 
    42     ((num_modified++)) 
     36    if [[ "$file" != *"zz"* && "$file" != *"test"* ]]; then 
     37    status=`svn status $file` 
     38    # "LINE: $file - status: $status" 
     39    # if the file's svn status is modified, write the filename out to the report 
     40    if [[ "$status" == *"M "* ]]; then 
     41        #echo "$file has been modified: $status" 
     42        echo $status >> $report #echo $file >> $report 
     43        ((num_modified++)) 
     44    fi 
    4345    fi 
    4446done 
     
    5658# repeat, this time looking for any newly added files 
    5759for file in ${filelisting[@]}; do 
    58     status=`svn status $file` 
    59     if [[ "$status" == *"? "* ]]; then 
    60     #echo "$file has been added: $status" 
    61     echo $status >> $report 
    62     ((num_added++)) 
     60    if [[ "$file" != *"zz"* && "$file" != *"test"* ]]; then 
     61    status=`svn status $file` 
     62    if [[ "$status" == *"? "* ]]; then 
     63        #echo "$file has been added: $status" 
     64        echo $status >> $report 
     65        ((num_added++)) 
     66    fi 
    6367    fi 
    6468done