diff options
author | Bertram <bertram@cegetel.net> | 2010-02-07 17:27:23 +0100 |
---|---|---|
committer | Bertram <bertram@cegetel.net> | 2010-02-07 17:27:23 +0100 |
commit | 1208d5383a9bfd03f338ccf71fb9764790b2e1a9 (patch) | |
tree | 1c53c2602496ad055817273462c3b45bf9a34043 /tools/update-copyright.sh | |
parent | 261d22fc915bf8066ce0986e216b7186ceeda375 (diff) | |
download | mana-1208d5383a9bfd03f338ccf71fb9764790b2e1a9.tar.gz mana-1208d5383a9bfd03f338ccf71fb9764790b2e1a9.tar.bz2 mana-1208d5383a9bfd03f338ccf71fb9764790b2e1a9.tar.xz mana-1208d5383a9bfd03f338ccf71fb9764790b2e1a9.zip |
Small fix to the update-copyright script.
Diffstat (limited to 'tools/update-copyright.sh')
-rwxr-xr-x | tools/update-copyright.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/update-copyright.sh b/tools/update-copyright.sh index 67deaaa4..8f924f53 100755 --- a/tools/update-copyright.sh +++ b/tools/update-copyright.sh @@ -20,4 +20,5 @@ echo "The next +/- counts mentioning copyrights should match:" grep "^[-+][^-+]" $tmp_file | sort | uniq -c echo "If they don't, try finding the offending files with grep -rl <\$bad_line>" - +# Remove temp file +[[ -e $tmp_file ]] && rm $tmp_file |