Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Quagga: Dev

[PATCH 1/6] tools: use standard interpreter path in all Perl scripts

 

 

Quagga dev RSS feed   Index | Next | Previous | View Threaded


david.ward at ll

Apr 29, 2012, 1:47 PM

Post #1 of 2 (112 views)
Permalink
[PATCH 1/6] tools: use standard interpreter path in all Perl scripts

Signed-off-by: David Ward <david.ward [at] ll>
---
tools/rrcheck.pl | 2 +-
tools/rrlookup.pl | 2 +-
tools/zc.pl | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/tools/rrcheck.pl b/tools/rrcheck.pl
index 5e5a983..1131356 100644
--- a/tools/rrcheck.pl
+++ b/tools/rrcheck.pl
@@ -1,4 +1,4 @@
-#! /bin/perl
+#!/usr/bin/perl
##
## Read BGPd logfile and lookup RR's whois database.
##
diff --git a/tools/rrlookup.pl b/tools/rrlookup.pl
index 2c14e73..4837538 100644
--- a/tools/rrlookup.pl
+++ b/tools/rrlookup.pl
@@ -1,4 +1,4 @@
-#! /usr/local/bin/perl
+#!/usr/bin/perl
##
## Read BGPd logfile and lookup RR's whois database.
##
diff --git a/tools/zc.pl b/tools/zc.pl
index 026e8fe..3afe282 100755
--- a/tools/zc.pl
+++ b/tools/zc.pl
@@ -1,4 +1,4 @@
-#! /usr/bin/perl
+#!/usr/bin/perl
##
## Zebra interactive console
## Copyright (C) 2000 Vladimir B. Grebenschikov <vova [at] express>
--
1.7.1

_______________________________________________
Quagga-dev mailing list
Quagga-dev [at] lists
http://lists.quagga.net/mailman/listinfo/quagga-dev


gdt at ir

Apr 29, 2012, 2:13 PM

Post #2 of 2 (99 views)
Permalink
Re: [PATCH 1/6] tools: use standard interpreter path in all Perl scripts [In reply to]

-#! /bin/perl
+#!/usr/bin/perl

While that's arguably an improvement, there is no standard perl location
(e.g., it's /usr/pkg/bin/perl on systems that don't include perl in the
base system and use pkgsrc). So this should probably either be

#!/usr/bin/env perl

or better yet

#!@PERL@

and substituted by autoconf (as in vtysh/extract.pl.in)

Quagga dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.