1
0
Fork 0

[bin] Fix quoting issue in xdg-open

main
Sebastian Schulze 2021-11-18 22:05:56 +01:00
parent 6e4d81c6b6
commit 533c23d470
Signed by: bascht
GPG Key ID: 5BCB1D3B4D38A35A
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ url_regex='^(https?|mailto|ftp|file):/?/?.*'
if [[ $argument =~ $url_regex ]]; then
match=$argument
else
match=$(file -b --mime-type $*)
match=$(file -b --mime-type "${*}")
fi;
echo "Searching for ${match} in handlers"