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:
parent
9341faf56a
commit
6ffa2b7a55
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/perl -w
|
||||
#!/usr/bin/env perl -w
|
||||
# mysqltuner.pl - Version 1.3.0
|
||||
# High Performance MySQL Tuning Script
|
||||
# Copyright (C) 2006-2014 Major Hayden - major@mhtx.net
|
||||
|
|
Loading…
Reference in a new issue