summaryrefslogtreecommitdiff
path: root/pod/buildtoc.PL
diff options
context:
space:
mode:
Diffstat (limited to 'pod/buildtoc.PL')
-rw-r--r--pod/buildtoc.PL4
1 files changed, 4 insertions, 0 deletions
diff --git a/pod/buildtoc.PL b/pod/buildtoc.PL
index 140d214aea..55e39252d9 100644
--- a/pod/buildtoc.PL
+++ b/pod/buildtoc.PL
@@ -472,3 +472,7 @@ sub output ($) {
!NO!SUBS!
+close OUT or die "Can't close $file: $!";
+chmod 0755, $file or die "Can't reset permissions for $file: $!\n";
+exec("$Config{'eunicefix'} $file") if $Config{'eunicefix'} ne ':';
+chdir $origdir;