Don't list the md5sum.txt file inside itself, it will always fail

This commit is contained in:
Steve McIntyre 2006-12-29 02:50:35 +00:00
parent 35743cde5f
commit 4d4bba1b7e
1 changed files with 1 additions and 1 deletions

View File

@ -411,7 +411,7 @@ sub finish_disc {
# And sort; it should make things faster for people checking
# the md5sums, as ISO9660 dirs are sorted alphabetically
system("LANG=C sort -uk2 md5sum.txt > md5sum.txt.tmp");
system("LANG=C sort -uk2 md5sum.txt | grep -v \./md5sum.txt > md5sum.txt.tmp");
system("mv -f md5sum.txt.tmp md5sum.txt");
chdir $bdir;