summaryrefslogtreecommitdiff
path: root/doc/scripts/gdoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/scripts/gdoc')
-rwxr-xr-xdoc/scripts/gdoc4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/scripts/gdoc b/doc/scripts/gdoc
index 13a37bd3b5..e79d3afd72 100755
--- a/doc/scripts/gdoc
+++ b/doc/scripts/gdoc
@@ -1,4 +1,6 @@
-#!/usr/bin/perl
+eval '(exit $?0)' && eval 'exec perl -wS "$0" ${1+"$@"}'
+ & eval 'exec perl -wS "$0" $argv:q'
+ if 0;
## Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Simon Josefsson
## added -texinfo, -listfunc, -pkg-name