Merge pull request #24 from chambln/master

Fix unbalanced double quotes in comment
This commit is contained in:
dylan 2020-08-25 09:33:23 +03:00 committed by GitHub
commit 2d2d96f63b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -534,7 +534,7 @@ dirname() {
# "${dir##*[!/]}": Remove all non-forward-slashes
# from the start of the string, leaving us with only
# the trailing slashes.
# "${dir%%"${}"}: Remove the result of the above
# "${dir%%"${}"}": Remove the result of the above
# substitution (a string of forward slashes) from the
# end of the original string.
dir=${dir%%"${dir##*[!/]}"}