diff options
author | Slatian <baschdel@disroot.org> | 2023-10-10 20:33:03 +0200 |
---|---|---|
committer | Simon Lees <simon@simotek.net> | 2023-10-11 05:30:50 +0000 |
commit | 8664c1fbbd40780bd04d92c51232454f855ee196 (patch) | |
tree | f3082980b32aca66b88f6940b50ed2ca5ecf7eca | |
parent | 63aa25c2836f45f80e609ac81f2c6939ccb3a894 (diff) |
Reapply LC_ALL fix from !84
-rwxr-xr-x | scripts/xdg-open.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/xdg-open.in b/scripts/xdg-open.in index 52032c2..02953fa 100755 --- a/scripts/xdg-open.in +++ b/scripts/xdg-open.in @@ -70,7 +70,7 @@ get_key() has_url_scheme() { - echo "$1" | grep -Eq '^[[:alpha:]][[:alpha:][:digit:]+\.\-]*:' + echo "$1" | LC_ALL=C grep -Eq '^[[:alpha:]][[:alpha:][:digit:]+\.\-]*:' } # Returns true if argument is a file:// URL or path |