diff options
author | Ludovic Courtès <ludo@gnu.org> | 2011-02-27 17:59:39 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2011-02-27 17:59:39 +0100 |
commit | f5c363dcaeb9ad068725c6c3c6e6b24266241ee4 (patch) | |
tree | 618b5b302b4ce8bdbd4ce0deeed49b11505d9e35 /doc/scripts/gdoc | |
parent | e3a820fcc10728fa70b3f7cb1cdb1b7add8678c4 (diff) | |
download | gnutls-f5c363dcaeb9ad068725c6c3c6e6b24266241ee4.tar.gz |
Avoid hard-coded /usr/bin/perl (trick taken from Gnulib.)
Diffstat (limited to 'doc/scripts/gdoc')
-rwxr-xr-x | doc/scripts/gdoc | 4 |
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 |