summaryrefslogtreecommitdiff
path: root/sql-bench/run-all-tests.sh
diff options
context:
space:
mode:
authorDaniel Black <daniel@linux.ibm.com>2020-03-31 07:57:53 +1100
committerAnel <an3l@users.noreply.github.com>2020-06-23 03:24:46 +0200
commit37c88445e30d52c965bcb19b19fa710c3eb4fad9 (patch)
treeb269fc6ab832c03a1bc9bdb8e1e0af9b6e293023 /sql-bench/run-all-tests.sh
parentb1b9803cb800334962970a8783c782253021e964 (diff)
downloadmariadb-git-37c88445e30d52c965bcb19b19fa710c3eb4fad9.tar.gz
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.
Diffstat (limited to 'sql-bench/run-all-tests.sh')
-rw-r--r--sql-bench/run-all-tests.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql-bench/run-all-tests.sh b/sql-bench/run-all-tests.sh
index 5d77c8c388d..ecab48e88fe 100644
--- a/sql-bench/run-all-tests.sh
+++ b/sql-bench/run-all-tests.sh
@@ -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.
#