This commit is contained in:
j-hc 2023-10-09 23:33:47 +03:00
parent 29bfdb56bf
commit 0d92ecf8dc
No known key found for this signature in database
GPG Key ID: B69B8F690911EFCC

View File

@ -564,7 +564,7 @@ build_rv() {
done
}
list_args() { tr -d '\t\r' <<<"$1" | tr -s ' ' | sed 's/" "/"\n"/g' | grep -v '^$' || :; }
list_args() { tr -d '\t\r' <<<"$1" | tr -s ' ' | sed 's/" "/"\n"/g' | sed 's/\([^"]\)"\([^"]\)/\1'\''\2/g' | grep -v '^$' || :; }
join_args() { list_args "$1" | sed "s/^/${2} /" | paste -sd " " - || :; }
uninstall_sh() {