Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding experimental option avoiding runtime errors #762

Merged
merged 3 commits into from
Feb 8, 2024

Conversation

jmrenouard
Copy link
Collaborator

  • Fixing shebang
  • Adding --experimental for new features

@jmrenouard jmrenouard merged commit 216d8f9 into major:master Feb 8, 2024
2 checks passed
@@ -1,5 +1,5 @@
#!/usr/bin/perl
# mysqltuner.pl - Version 2.5.2
#!env perl

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removing the full path breaks the shebang when using bash

$ ./mysqltuner.pl --help
-bash: ./mysqltuner.pl: env: bad interpreter: No such file or directory

$ bash --version
GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

$ which env
/usr/bin/env

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we make such change?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chenrui333 chenrui333 mentioned this pull request Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants