From: Sascha Wildner Date: Sun, 19 May 2013 16:18:58 +0000 (+0200) Subject: Use '#!/usr/bin/env' to find perl in some scripts. X-Git-Tag: v3.7.0~1105 X-Git-Url: https://gitweb.dragonflybsd.org/~tuxillo/dragonfly.git/commitdiff_plain/c311ab1309381df18f36a2068699f605abbfee74 Use '#!/usr/bin/env' to find perl in some scripts. --- diff --git a/lib/libc_r/test/propagate_s.pl b/lib/libc_r/test/propagate_s.pl index 529f628813..9e72f31f72 100644 --- a/lib/libc_r/test/propagate_s.pl +++ b/lib/libc_r/test/propagate_s.pl @@ -1,4 +1,4 @@ -#!/usr/pkg/bin/perl -w +#!/usr/bin/env perl -w # # Copyright (C) 2000 Jason Evans . # All rights reserved. @@ -32,7 +32,6 @@ # Verify that no cancellation points are propagated inside of libc_r. # # $FreeBSD: src/lib/libc_r/test/propagate_s.pl,v 1.1.2.1 2000/07/17 22:18:32 jasone Exp $ -# $DragonFly: src/lib/libc_r/test/propagate_s.pl,v 1.2 2003/06/17 04:26:48 dillon Exp $ # @CPOINTS = ("aio_suspend", "close", "creat", "fcntl", "fsync", "mq_receive", diff --git a/lib/libc_r/test/verify b/lib/libc_r/test/verify index 8333c81801..16aca984f4 100644 --- a/lib/libc_r/test/verify +++ b/lib/libc_r/test/verify @@ -1,4 +1,4 @@ -#!/usr/pkg/bin/perl -w +#!/usr/bin/env perl -w #-*-mode:perl-*- ############################################################################# # @@ -34,7 +34,6 @@ # Test harness. # # $FreeBSD: src/lib/libc_r/test/verify,v 1.1.2.2 2001/06/22 21:44:27 jasone Exp $ -# $DragonFly: src/lib/libc_r/test/verify,v 1.2 2003/06/17 04:26:48 dillon Exp $ # ############################################################################# diff --git a/share/examples/printing/netprint b/share/examples/printing/netprint index 0889bd86da..7878cfa47a 100644 --- a/share/examples/printing/netprint +++ b/share/examples/printing/netprint @@ -1,4 +1,4 @@ -#!/usr/pkg/bin/perl +#!/usr/bin/env perl # # netprint - Text filter for printer attached to network # Installed in /usr/local/libexec/netprint diff --git a/tools/test/devrandom/hammer.random b/tools/test/devrandom/hammer.random index 5c443ab51d..4e1db724c4 100644 --- a/tools/test/devrandom/hammer.random +++ b/tools/test/devrandom/hammer.random @@ -1,4 +1,4 @@ -#!/usr/pkg/bin/perl +#!/usr/bin/env perl # # Test program for /dev/random @@ -6,7 +6,6 @@ # Try tapping shift/alt/ctrl to get more randomness. # # $FreeBSD: src/tools/test/devrandom/hammer.random,v 1.4 1999/08/28 00:54:24 peter Exp $ -# $DragonFly: src/tools/test/devrandom/hammer.random,v 1.2 2003/06/17 04:29:11 dillon Exp $ # for (;;) { diff --git a/tools/test/devrandom/hammer.urandom b/tools/test/devrandom/hammer.urandom index 32052a0dfe..2ce453d516 100644 --- a/tools/test/devrandom/hammer.urandom +++ b/tools/test/devrandom/hammer.urandom @@ -1,4 +1,4 @@ -#!/usr/pkg/bin/perl +#!/usr/bin/env perl # # Test program for /dev/urandom @@ -6,7 +6,6 @@ # This also reads /dev/zero to make sure there is no brokenness there. # # $FreeBSD: src/tools/test/devrandom/hammer.urandom,v 1.4 1999/08/28 00:54:24 peter Exp $ -# $DragonFly: src/tools/test/devrandom/hammer.urandom,v 1.2 2003/06/17 04:29:11 dillon Exp $ # open(ZERO, "/dev/zero") || die "Cannot open /dev/zero - $!\n"; diff --git a/tools/test/devrandom/stat.16bit b/tools/test/devrandom/stat.16bit index dc823dca2d..5d2fbb88ea 100644 --- a/tools/test/devrandom/stat.16bit +++ b/tools/test/devrandom/stat.16bit @@ -1,4 +1,4 @@ -#!/usr/pkg/bin/perl +#!/usr/bin/env perl # # Perform primitive binning into 16-bit bins (take 16bits of randomness @@ -9,7 +9,6 @@ # it runs. This program is a CPU Hog! # # $FreeBSD: src/tools/test/devrandom/stat.16bit,v 1.4 1999/08/28 00:54:24 peter Exp $ -# $DragonFly: src/tools/test/devrandom/stat.16bit,v 1.2 2003/06/17 04:29:11 dillon Exp $ # for ($i = 0; $i < (1024*64); $i++) { diff --git a/tools/test/devrandom/stat.8bit b/tools/test/devrandom/stat.8bit index fc43733a3a..bdaf61c13d 100644 --- a/tools/test/devrandom/stat.8bit +++ b/tools/test/devrandom/stat.8bit @@ -1,4 +1,4 @@ -#!/usr/pkg/bin/perl +#!/usr/bin/env perl # # Perform primitive binning into 8-bit bins (take 8 bits of randomness @@ -9,7 +9,6 @@ # it runs. This program is a CPU Hog! # # $FreeBSD: src/tools/test/devrandom/stat.8bit,v 1.4 1999/08/28 00:54:24 peter Exp $ -# $DragonFly: src/tools/test/devrandom/stat.8bit,v 1.2 2003/06/17 04:29:11 dillon Exp $ # for ($i = 0; $i < (1024*32); $i++) { diff --git a/tools/tools/commitsdb/make_commit_db b/tools/tools/commitsdb/make_commit_db index 56f8c22aee..63f834b630 100644 --- a/tools/tools/commitsdb/make_commit_db +++ b/tools/tools/commitsdb/make_commit_db @@ -1,7 +1,6 @@ -#!/usr/pkg/bin/perl -w +#!/usr/bin/env perl -w # $FreeBSD: src/tools/tools/commitsdb/make_commit_db,v 1.2 2002/10/17 16:29:26 joe Exp $ -# $DragonFly: src/tools/tools/commitsdb/make_commit_db,v 1.5 2006/07/12 21:40:49 swildner Exp $ # This script walks the tree from the current directory # and spits out a database generated by md5'ing the cvs log diff --git a/tools/tools/commitsdb/query_commit_db b/tools/tools/commitsdb/query_commit_db index f8b4b492c8..5491899682 100644 --- a/tools/tools/commitsdb/query_commit_db +++ b/tools/tools/commitsdb/query_commit_db @@ -1,7 +1,6 @@ -#!/usr/pkg/bin/perl -w +#!/usr/bin/env perl -w # $FreeBSD: src/tools/tools/commitsdb/query_commit_db,v 1.3.2.1 2002/08/12 13:37:46 joe Exp $ -# $DragonFly: src/tools/tools/commitsdb/query_commit_db,v 1.2 2003/06/17 04:29:11 dillon Exp $ # This script takes a filename and revision number as arguments # and spits out a list of other files and their revisions that share diff --git a/tools/tools/scsi-defects/scsi-defects.pl b/tools/tools/scsi-defects/scsi-defects.pl index 4addcb40c5..c36f2b36dc 100644 --- a/tools/tools/scsi-defects/scsi-defects.pl +++ b/tools/tools/scsi-defects/scsi-defects.pl @@ -1,4 +1,4 @@ -#!/usr/pkg/bin/perl +#!/usr/bin/env perl # # Copyright (C) 1997 # Peter Dufault, Joerg Wunsch. All rights reserved. @@ -25,7 +25,6 @@ # SUCH DAMAGE. # # $FreeBSD: src/tools/tools/scsi-defects/scsi-defects.pl,v 1.3 1999/08/28 00:54:32 peter Exp $ -# $DragonFly: src/tools/tools/scsi-defects/scsi-defects.pl,v 1.2 2003/06/17 04:29:11 dillon Exp $ # # diff --git a/usr.sbin/route6d/misc/chkrt b/usr.sbin/route6d/misc/chkrt index 656ec43d1a..4ab53841c8 100644 --- a/usr.sbin/route6d/misc/chkrt +++ b/usr.sbin/route6d/misc/chkrt @@ -1,7 +1,6 @@ -#!/usr/pkg/bin/perl +#!/usr/bin/env perl # # $FreeBSD: src/usr.sbin/route6d/misc/chkrt,v 1.1 1999/12/28 02:37:10 shin Exp $ -# $DragonFly: src/usr.sbin/route6d/misc/chkrt,v 1.2 2003/06/17 04:30:02 dillon Exp $ # $dump="/var/tmp/route6d_dump"; $pidfile="/var/run/route6d.pid";