Don't hardcode perl path in shebang

Use universal way of determining current default version of perl. Useful when perl is installed at /usr/bin/local or activated via perlbrew. See http://perlbrew.pl/Dealing-with-shebangs.html for more details.
This commit is contained in:
Igor Urazov 2014-07-14 15:07:25 +03:00
parent 9341faf56a
commit 6ffa2b7a55

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl -w #!/usr/bin/env perl -w
# mysqltuner.pl - Version 1.3.0 # mysqltuner.pl - Version 1.3.0
# High Performance MySQL Tuning Script # High Performance MySQL Tuning Script
# Copyright (C) 2006-2014 Major Hayden - major@mhtx.net # Copyright (C) 2006-2014 Major Hayden - major@mhtx.net