trim_quotes: Fix bug with only one type of quote being removed

This commit is contained in:
Dylan Araps 2016-11-16 13:03:45 +11:00
parent 6cd4584f67
commit 7bf2654c76
1 changed files with 1 additions and 1 deletions

View File

@ -2394,7 +2394,7 @@ trim() {
trim_quotes() {
trim_output="${1//\'}"
trim_output="${1//\"}"
trim_output="${trim_output//\"}"
printf "%s" "$trim_output"
}