]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
don't print the symlink to self
authorMiek Gieben <miekg@NLnetLabs.nl>
Thu, 28 Apr 2005 12:04:45 +0000 (12:04 +0000)
committerMiek Gieben <miekg@NLnetLabs.nl>
Thu, 28 Apr 2005 12:04:45 +0000 (12:04 +0000)
doc/doxyparse.pl

index 2e2d7a905c9f147cfe4a6285c31acfe3a6b923c7..1c58f691e2743616e68a5663e53def87b8a96a49 100755 (executable)
@@ -215,6 +215,9 @@ foreach (keys %manpages) {
        chdir("man/man$MAN_SECTION");
        foreach (@$name) {
                my $new_file = $_ . "." . $MAN_SECTION;
+               if ($new_file eq $symlink_file) {
+                       next;
+               }
                print "\t", $new_file, " -> ", $symlink_file, "\n";
                symlink $symlink_file, $new_file;
        }