Skip Menu |

This queue is for tickets about the Geo-Proj4 CPAN distribution.

Report information
The Basics
Id: 128827
Status: open
Priority: 0/
Queue: Geo-Proj4

People
Owner: Nobody in particular
Requestors: ppisar [...] redhat.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.09
Fixed in: (no value)



Subject: Unify shebangs in examples
All the example scripts but one use /usr/bin/perl. It would be great to correct the one as shown it the attached patch.
Subject: 0001-Unify-examples-shebang.patch
From 7ac3f9eec1d7a16557c0356c2239044da613c8b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com> Date: Wed, 13 Mar 2019 14:10:20 +0100 Subject: [PATCH] Unify examples shebang MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit All the other tests uses an absolute path. Use it for this one example too. Signed-off-by: Petr Písař <ppisar@redhat.com> --- examples/test_list.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/test_list.pl b/examples/test_list.pl index dda426c..fb017d4 100644 --- a/examples/test_list.pl +++ b/examples/test_list.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl # when run, it will show all definitions. use warnings; use strict; -- 2.20.1
Subject: Re: [rt.cpan.org #128827] Unify shebangs in examples
Date: Thu, 14 Mar 2019 11:16:55 +0100
To: Petr Pisar via RT <bug-Geo-Proj4 [...] rt.cpan.org>
From: Mark Overmeer <mark [...] overmeer.net>
* Petr Pisar via RT (bug-Geo-Proj4@rt.cpan.org) [190313 13:15]: Show quoted text
> Wed Mar 13 09:14:55 2019: Request 128827 was acted upon. > Transaction: Ticket created by ppisar > Queue: Geo-Proj4 > Subject: Unify shebangs in examples
Thanks, I have now unified them the other way around: preference for "/usr/bin/env perl" Show quoted text
> -#!/usr/bin/env perl > +#!/usr/bin/perl
-- Regards, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net