Commit 37c88445 authored by Daniel Black's avatar Daniel Black Committed by Anel

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.
parent b1b9803c
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved.
#
......
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (c) 2002 MySQL AB, 2009 Sun Microsystems, Inc.
# Use is subject to license terms.
......
#!/usr/bin/perl
#!/usr/bin/env perl
die <<EEE unless @ARGV;
Usage: $0 func1 [func2 [ ...] ]
......
#!/usr/bin/perl -w
#!/usr/bin/env perl -w
# mysqlreport v4.0 Oct 23 2015
# http://hackmysql.com/mysqlreport
......
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (C) 2006 MySQL AB
# Use is subject to license terms
......
#!/usr/bin/perl
#!/usr/bin/env perl
# -*- cperl -*-
# This script processes a .gcov coverage report to honor purecov
......
#!/usr/bin/perl
#!/usr/bin/env perl
# -*- cperl -*-
# Copyright (c) 2007, 2008 MySQL AB
......
#!/usr/bin/perl
#!/usr/bin/env perl
# -*- cperl -*-
# Copyright (c) 2007 MySQL AB
......
#!/usr/bin/perl
#!/usr/bin/env perl
# -*- cperl -*-
# Copyright (c) 2007 MySQL AB
......
#!/usr/bin/perl
#!/usr/bin/env perl
# -*- cperl -*-
# Copyright (c) 2007 MySQL AB
......
#!/usr/bin/perl
#!/usr/bin/env perl
# -*- cperl -*-
# Copyright (c) 2007 MySQL AB
......
#!/usr/bin/perl
#!/usr/bin/env perl
# -*- cperl -*-
# Copyright (c) 2007 MySQL AB, 2009 Sun Microsystems, Inc.
......
#!/usr/bin/perl
#!/usr/bin/env perl
# -*- cperl -*-
# Copyright (c) 2007 MySQL AB
......
#!/usr/bin/perl
#!/usr/bin/env perl
# -*- cperl -*-
# Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved.
......
#!/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');
......
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved.
#
......
#!/usr/bin/perl
#!/usr/bin/env perl
# -*- cperl -*-
# Copyright (c) 2004, 2014, Oracle and/or its affiliates.
......
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (c) 2011, Oracle and/or its affiliates
#
......
#!/usr/bin/perl
#!/usr/bin/env perl
################################################################################
#
# This script runs the transactional stress test "stress_tx_rr" against the
......
#!/usr/bin/perl
#!/usr/bin/env perl
if ( (scalar(@ARGV) != 1 ) || ($ARGV[0] =~ /[^0-9]/i ) )
......
#!/usr/bin/perl
#!/usr/bin/env perl
if ( (scalar(@ARGV) != 2 ) || ($ARGV[0] =~ /[^0-9]/i ) )
......
#!/usr/bin/perl
#!/usr/bin/env perl
#################################################################################
# Author: Serge Kozlov #
......
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
#
......
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;
......
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=8:ai:ts=8
......
#!/usr/bin/perl
#!/usr/bin/env perl
package Net::HandlerSocket::HSPool;
......
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=2:ai
......
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=2:ai
......
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=2:ai
......
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=2:ai
......
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=2:ai
......
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=2:ai
......
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=2:ai
......
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=2:ai
......
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=2:ai
......
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=2:ai
......
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=2:ai
......
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=2:ai
......
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=2:ai
......
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=2:ai
......
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=2:ai
......
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=2:ai
......
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=2:ai
......
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=2:ai
......
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=2:ai
......
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=2:ai
......
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=2:ai
......
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=2:ai
......
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=2:ai
......
#!/usr/bin/perl
#!/usr/bin/env perl
# vim:sw=2:ai
......
#!/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 #.
......
#!/usr/bin/perl -w
#!/usr/bin/env perl -w
#
# $Id: mytop,v 1.91 2012/01/18 16:49:12 mgrennan Exp $
......
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (c) 2001, 2003, 2006 MySQL AB, 2009 Sun Microsystems, Inc.
# Use is subject to license terms.
#
......
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (c) 2001, 2003, 2006 MySQL AB, 2009 Sun Microsystems, Inc.
# Use is subject to license terms.
#
......
#!/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.
#
......
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (c) 2000, 2001, 2006 MySQL AB, 2009 Sun Microsystems, Inc.
# Use is subject to license terms.
#
......
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (c) 2000, 2003, 2006 MySQL AB, 2009 Sun Microsystems, Inc.
# Use is subject to license terms.
#
......
#!/usr/bin/perl
#!/usr/bin/env perl
# -*- perl -*-
# Copyright (c) 2000-2006 MySQL AB, 2009 Sun Microsystems, Inc.
# Use is subject to license terms.
......
#!/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
......
#!/usr/bin/perl
#!/usr/bin/env perl
############################################################################
# Stress test for MySQL/InnoDB combined database
# (c) 2002 Innobase Oy & MySQL AB
......
#!/usr/bin/perl
#!/usr/bin/env perl
############################################################################
# Stress test for MySQL/InnoDB combined database
# (c) 2002 Innobase Oy & MySQL AB
......
#!/usr/bin/perl
#!/usr/bin/env perl
############################################################################
# Stress test for MySQL/InnoDB combined database
# (c) 2002 Innobase Oy & MySQL AB
......
#!/usr/bin/perl
#!/usr/bin/env perl
############################################################################
# Stress test for MySQL/InnoDB combined database
# (c) 2002 Innobase Oy & MySQL AB
......
#!/usr/bin/perl
#!/usr/bin/env perl
############################################################################
# Stress test for MySQL/Innobase combined database
# (c) 2000 Innobase Oy & MySQL AB
......
#!/usr/bin/perl
#!/usr/bin/env perl
############################################################################
# Stress test for MySQL/Innobase combined database
# (c) 2000 Innobase Oy & MySQL AB
......
#!/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.
#
......
#!/usr/bin/perl
#!/usr/bin/env perl
# -*- perl -*-
# Copyright (c) 2000-2006 MySQL AB, 2009 Sun Microsystems, Inc.
# Use is subject to license terms.
......
#!/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.
#
......
#!/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.
#
......
#!/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.
#
......
#!/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.
#
......
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (c) 2000-2003, 2006 MySQL AB, 2009 Sun Microsystems, Inc.
# Use is subject to license terms.
#
......
#!/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.
#
......
#!/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.
#
......
#!/usr/bin/perl
#!/usr/bin/env perl
# Test of table elimination feature
use Cwd;
......
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (c) 2001, 2003, 2006 MySQL AB, 2009 Sun Microsystems, Inc.
# Use is subject to license terms.
#
......
#!/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.
#
......
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (c) 2003, 2005 MySQL AB
# Use is subject to license terms
......
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (c) 2003, 2005 MySQL AB
# Use is subject to license terms
......
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (c) 2003, 2005 MySQL AB
# Use is subject to license terms
......
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
#
......
#!/usr/bin/perl -w
#!/usr/bin/env perl -w
# Copyright (C) 2000 MySQL AB
# Use is subject to license terms
......
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (C) 2000, 2001 MySQL AB
# Use is subject to license terms
......
#!/usr/bin/perl -w
#!/usr/bin/env perl -w
# Copyright (C) 2000, 2001 MySQL AB
# Use is subject to license terms
......
#!/usr/bin/perl -w
#!/usr/bin/env perl -w
use strict;
# Copyright (c) 2001, 2006 MySQL AB
......
#!/usr/bin/perl -w
#!/usr/bin/env perl -w
# Copyright (c) 2002, 2003, 2005, 2006 MySQL AB
# Use is subject to license terms
......
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (c) 2000, 2005 MySQL AB, 2009 Sun Microsystems, Inc.
# Use is subject to license terms.
......
#!/usr/bin/perl -w
#!/usr/bin/env perl -w
# Copyright (C) 2005 MySQL AB
# Use is subject to license terms
......
#!/usr/bin/perl -w
#!/usr/bin/env perl -w
# Copyright (C) 2000, 2001 MySQL AB
# Use is subject to license terms
......
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (C) 2000 MySQL AB
# Use is subject to license terms
......
#!/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
#
......
#!/usr/bin/perl -w
#!/usr/bin/env perl -w
# Copyright (C) 2000, 2005 MySQL AB
# Use is subject to license terms
......
#!/usr/bin/perl -w
#!/usr/bin/env perl -w
# Copyright (C) 2000, 2001 MySQL AB
# Use is subject to license terms
......
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (C) 2000, 2003 MySQL AB
# Use is subject to license terms
......
#!/usr/bin/perl -w
#!/usr/bin/env perl -w
# Copyright (C) 2000, 2001 MySQL AB
# Use is subject to license terms
......
#!/usr/bin/perl -w
#!/usr/bin/env perl -w
# Copyright (C) 2002 MySQL AB
# Use is subject to license terms
......
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (c) 2006 MySQL AB, 2009, 2010 Sun Microsystems, Inc.
# Use is subject to license terms.
#
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment