From 658b7b13db370b0ffe58a0e15eeb21606c57a3a8 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 21 Jun 2007 14:56:03 +0000 Subject: ensure no hard link is used --- genhdlist2 | 1 + 1 file changed, 1 insertion(+) (limited to 'genhdlist2') diff --git a/genhdlist2 b/genhdlist2 index f80e1ee..10ae6e7 100644 --- a/genhdlist2 +++ b/genhdlist2 @@ -197,6 +197,7 @@ sub generate_md5sum { my ($media_info_dir) = @_; print "updating $media_info_dir/MD5SUM\n" if $verbose >= 0; my $m = `cd '$media_info_dir' ; /usr/bin/md5sum hdlist.cz synthesis.hdlist.cz`; + unlink "$media_info_dir/MD5SUM"; # ensure no hard link is used open my $f, '>', "$media_info_dir/MD5SUM" or die "Can't write MD5SUM: $!\n"; print $f $m; } -- cgit v1.2.1