mtr: use env for perl

On FreeBSD, perl isn't in /usr/bin, its in /usr/local/bin or
elsewhere in the path.

Like storage/{maria/unittest/,}ma_test_* , we use /usr/bin/env to
find perl and run it.
This commit is contained in:
Daniel Black 2020-03-31 07:57:53 +11:00 committed by Anel
parent b1b9803cb8
commit 37c88445e3
97 changed files with 97 additions and 97 deletions

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved.
#

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (c) 2002 MySQL AB, 2009 Sun Microsystems, Inc.
# Use is subject to license terms.

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
die <<EEE unless @ARGV;
Usage: $0 func1 [func2 [ ...] ]

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl -w
# mysqlreport v4.0 Oct 23 2015
# http://hackmysql.com/mysqlreport

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (C) 2006 MySQL AB
# Use is subject to license terms

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# -*- cperl -*-
# This script processes a .gcov coverage report to honor purecov

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# -*- cperl -*-
# Copyright (c) 2007, 2008 MySQL AB

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# -*- cperl -*-
# Copyright (c) 2007 MySQL AB

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# -*- cperl -*-
# Copyright (c) 2007 MySQL AB

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# -*- cperl -*-
# Copyright (c) 2007 MySQL AB

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# -*- cperl -*-
# Copyright (c) 2007 MySQL AB

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# -*- cperl -*-
# Copyright (c) 2007 MySQL AB, 2009 Sun Microsystems, Inc.

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# -*- cperl -*-
# Copyright (c) 2007 MySQL AB

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# -*- cperl -*-
# Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved.

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# Call mtr in out-of-source build
$ENV{MTR_BINDIR} = '@CMAKE_BINARY_DIR@';
chdir('@CMAKE_SOURCE_DIR@/mysql-test');

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved.
#

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# -*- cperl -*-
# Copyright (c) 2004, 2014, Oracle and/or its affiliates.

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (c) 2011, Oracle and/or its affiliates
#

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
################################################################################
#
# This script runs the transactional stress test "stress_tx_rr" against the

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
if ( (scalar(@ARGV) != 1 ) || ($ARGV[0] =~ /[^0-9]/i ) )

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
if ( (scalar(@ARGV) != 2 ) || ($ARGV[0] =~ /[^0-9]/i ) )

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
#################################################################################
# Author: Serge Kozlov #

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
#

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=8:ai:ts=8

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
package Net::HandlerSocket::HSPool;

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=2:ai

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=2:ai

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=2:ai

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=2:ai

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=2:ai

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=2:ai

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=2:ai

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=2:ai

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=2:ai

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=2:ai

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=2:ai

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=2:ai

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=2:ai

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=2:ai

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=2:ai

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=2:ai

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=2:ai

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=2:ai

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=2:ai

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=2:ai

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=2:ai

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=2:ai

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=2:ai

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=2:ai

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl -i
#!/usr/bin/env perl -i
#
# This script converts all numbers that look like addresses or memory sizes,
# in a debug files generated by --debug (like mysqld --debug-dbug), to #.

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl -w
#
# $Id: mytop,v 1.91 2012/01/18 16:49:12 mgrennan Exp $

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (c) 2001, 2003, 2006 MySQL AB, 2009 Sun Microsystems, Inc.
# Use is subject to license terms.
#

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (c) 2001, 2003, 2006 MySQL AB, 2009 Sun Microsystems, Inc.
# Use is subject to license terms.
#

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (c) 2000-2003, 2005-2007 MySQL AB, 2009 Sun Microsystems, Inc.
# Use is subject to license terms.
#

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (c) 2000, 2001, 2006 MySQL AB, 2009 Sun Microsystems, Inc.
# Use is subject to license terms.
#

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (c) 2000, 2003, 2006 MySQL AB, 2009 Sun Microsystems, Inc.
# Use is subject to license terms.
#

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# -*- perl -*-
# Copyright (c) 2000-2006 MySQL AB, 2009 Sun Microsystems, Inc.
# Use is subject to license terms.

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
####
#### Hello ... this is a heavily hacked script by Luuk
#### instead of printing the result it makes a nice gif

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
############################################################################
# Stress test for MySQL/InnoDB combined database
# (c) 2002 Innobase Oy & MySQL AB

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
############################################################################
# Stress test for MySQL/InnoDB combined database
# (c) 2002 Innobase Oy & MySQL AB

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
############################################################################
# Stress test for MySQL/InnoDB combined database
# (c) 2002 Innobase Oy & MySQL AB

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
############################################################################
# Stress test for MySQL/InnoDB combined database
# (c) 2002 Innobase Oy & MySQL AB

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
############################################################################
# Stress test for MySQL/Innobase combined database
# (c) 2000 Innobase Oy & MySQL AB

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
############################################################################
# Stress test for MySQL/Innobase combined database
# (c) 2000 Innobase Oy & MySQL AB

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (c) 2000, 2001, 2003, 2006, 2007 MySQL AB, 2009 Sun Microsystems, Inc.
# Use is subject to license terms.
#

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# -*- perl -*-
# Copyright (c) 2000-2006 MySQL AB, 2009 Sun Microsystems, Inc.
# Use is subject to license terms.

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (c) 2000, 2001, 2003, 2006 MySQL AB, 2009 Sun Microsystems, Inc.
# Use is subject to license terms.
#

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (c) 2000, 2001, 2003, 2006 MySQL AB, 2009 Sun Microsystems, Inc.
# Use is subject to license terms.
#

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (c) 2000, 2001, 2003, 2006 MySQL AB, 2009 Sun Microsystems, Inc.
# Use is subject to license terms.
#

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (c) 2000, 2001, 2003, 2006 MySQL AB, 2009 Sun Microsystems, Inc.
# Use is subject to license terms.
#

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (c) 2000-2003, 2006 MySQL AB, 2009 Sun Microsystems, Inc.
# Use is subject to license terms.
#

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (c) 2000-2003, 2006, 2007 MySQL AB, 2009 Sun Microsystems, Inc.
# Use is subject to license terms.
#

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (c) 2000, 2001, 2003, 2006 MySQL AB, 2009 Sun Microsystems, Inc.
# Use is subject to license terms.
#

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# Test of table elimination feature
use Cwd;

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (c) 2001, 2003, 2006 MySQL AB, 2009 Sun Microsystems, Inc.
# Use is subject to license terms.
#

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (c) 2000, 2001, 2003, 2006 MySQL AB, 2009 Sun Microsystems, Inc.
# Use is subject to license terms.
#

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (c) 2003, 2005 MySQL AB
# Use is subject to license terms

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (c) 2003, 2005 MySQL AB
# Use is subject to license terms

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (c) 2003, 2005 MySQL AB
# Use is subject to license terms

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
#

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl -w
# Copyright (C) 2000 MySQL AB
# Use is subject to license terms

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (C) 2000, 2001 MySQL AB
# Use is subject to license terms

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl -w
# Copyright (C) 2000, 2001 MySQL AB
# Use is subject to license terms

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl -w
use strict;
# Copyright (c) 2001, 2006 MySQL AB

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl -w
# Copyright (c) 2002, 2003, 2005, 2006 MySQL AB
# Use is subject to license terms

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (c) 2000, 2005 MySQL AB, 2009 Sun Microsystems, Inc.
# Use is subject to license terms.

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl -w
# Copyright (C) 2005 MySQL AB
# Use is subject to license terms

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl -w
# Copyright (C) 2000, 2001 MySQL AB
# Use is subject to license terms

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (C) 2000 MySQL AB
# Use is subject to license terms

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl -w
# Copyright Abandoned 1998 TCX DataKonsult AB & Monty Program KB & Detron HB
# This file is public domain and comes with NO WARRANTY of any kind
#

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl -w
# Copyright (C) 2000, 2005 MySQL AB
# Use is subject to license terms

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl -w
# Copyright (C) 2000, 2001 MySQL AB
# Use is subject to license terms

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (C) 2000, 2003 MySQL AB
# Use is subject to license terms

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl -w
# Copyright (C) 2000, 2001 MySQL AB
# Use is subject to license terms

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl -w
# Copyright (C) 2002 MySQL AB
# Use is subject to license terms

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (c) 2006 MySQL AB, 2009, 2010 Sun Microsystems, Inc.
# Use is subject to license terms.
#