We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is questionable, since it ignores the very real cornercase of "$0" being a plain word ("dirname foo" is ".", not "foo").
scriptdir="$(cd "$(dirname "$0")" && pwd)" ^-- Use parameter expansion instead, such as ${var%/*}.
The text was updated successfully, but these errors were encountered:
Since these warnings fail for cases like "/", "", and "foo", they've been removed in 3a9ae0e
Sorry, something went wrong.
See also issue #9
No branches or pull requests
This is questionable, since it ignores the very real cornercase of "$0" being a plain word ("dirname foo" is ".", not "foo").
The text was updated successfully, but these errors were encountered: