summaryrefslogtreecommitdiff
path: root/tools/update-copyright.sh
diff options
context:
space:
mode:
authorBertram <bertram@cegetel.net>2010-02-07 17:27:23 +0100
committerBertram <bertram@cegetel.net>2010-02-07 17:27:23 +0100
commit1208d5383a9bfd03f338ccf71fb9764790b2e1a9 (patch)
tree1c53c2602496ad055817273462c3b45bf9a34043 /tools/update-copyright.sh
parent261d22fc915bf8066ce0986e216b7186ceeda375 (diff)
downloadmana-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-xtools/update-copyright.sh3
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