From: Felix Fietkau <nbd@openwrt.org>
Date: Tue, 23 Sep 2008 18:29:44 +0000 (+0000)
Subject: use #!/usr/bin/env perl instead of #!/usr/bin/perl in openwrt scripts (fixes #2998)
X-Git-Tag: reboot~25542
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=625b692c1f6ee3494d489ee8f254b77de7585f1d;p=openwrt%2Fopenwrt.git

use #!/usr/bin/env perl instead of #!/usr/bin/perl in openwrt scripts (fixes #2998)

SVN-Revision: 12674
---

diff --git a/scripts/abs2rel.pl b/scripts/abs2rel.pl
index 1bd9a14af1..dd35211d97 100755
--- a/scripts/abs2rel.pl
+++ b/scripts/abs2rel.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 # 
 # Copyright (C) 2007 OpenWrt.org
 #
diff --git a/scripts/adam2flash-502T.pl b/scripts/adam2flash-502T.pl
index 13bdae611a..0ed296d60f 100644
--- a/scripts/adam2flash-502T.pl
+++ b/scripts/adam2flash-502T.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 #
 #   D-Link DSL-502T flash utility
 #
diff --git a/scripts/adam2flash-fritzbox.pl b/scripts/adam2flash-fritzbox.pl
index 04cf9f7f6f..f8d745f678 100644
--- a/scripts/adam2flash-fritzbox.pl
+++ b/scripts/adam2flash-fritzbox.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 #
 #   D-Link DSL-G6x4T flash utility
 #
diff --git a/scripts/adam2flash.pl b/scripts/adam2flash.pl
index bd0fa69a61..8550f80a8a 100755
--- a/scripts/adam2flash.pl
+++ b/scripts/adam2flash.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 #
 #   D-Link DSL-G6x4T flash utility
 #
diff --git a/scripts/download.pl b/scripts/download.pl
index 8934c55500..e63595497f 100755
--- a/scripts/download.pl
+++ b/scripts/download.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 # 
 # Copyright (C) 2006 OpenWrt.org
 #
diff --git a/scripts/metadata.pl b/scripts/metadata.pl
index ce80924978..bee3020121 100755
--- a/scripts/metadata.pl
+++ b/scripts/metadata.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 use FindBin;
 use lib "$FindBin::Bin";
 use strict;
diff --git a/scripts/slugimage.pl b/scripts/slugimage.pl
index e461521662..deac6ac6dd 100755
--- a/scripts/slugimage.pl
+++ b/scripts/slugimage.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 # 
 # SlugImage : Manipulate NSLU2 firmware images
 #             Dwayne Fontenot (jacques)
diff --git a/scripts/timestamp.pl b/scripts/timestamp.pl
index 90d1fa799a..b2d68a1bb1 100755
--- a/scripts/timestamp.pl
+++ b/scripts/timestamp.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 # 
 # Copyright (C) 2006 OpenWrt.org
 #