From c85ca381a4cf90e76c6f7e1dd4b9b37fc10ea8ad Mon Sep 17 00:00:00 2001 From: Rohan McGovern Date: Mon, 16 May 2011 09:52:17 +1000 Subject: [PATCH 1/2] init-repository: fixed `--help' with older Pod::Usage (OSX 10.6) Pod::Usage shipped on OSX 10.6 seems to stop printing the usage message at the first `=headX'. Refactor the documentation slightly to take this into account. --- init-repository | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/init-repository b/init-repository index 252fbb12..3650aa7e 100755 --- a/init-repository +++ b/init-repository @@ -58,7 +58,9 @@ This script may be run after an initial `git clone' of Qt5 in order to check out all submodules. -=head2 Global options: +=head1 OPTIONS + +B =over @@ -74,7 +76,7 @@ Be quiet. Will exit cleanly if the repository is already initialized. =back -=head2 Module options: +B =over @@ -101,7 +103,7 @@ it as needed. =back -=head2 Repository options: +B =over From 5feaf36fa7c0f306d3987bd20ba4083444eeebf2 Mon Sep 17 00:00:00 2001 From: Rohan McGovern Date: Mon, 16 May 2011 09:54:36 +1000 Subject: [PATCH 2/2] init-repository: mark as requiring perl 5.10 This script currently requires perl 5.10, so mark it as such. --- init-repository | 1 + 1 file changed, 1 insertion(+) diff --git a/init-repository b/init-repository index 3650aa7e..4f9d4af9 100755 --- a/init-repository +++ b/init-repository @@ -40,6 +40,7 @@ ## ############################################################################# +use v5.10; use strict; use warnings;