Skip to content

Commit 2359d33

Browse files
committed
Add support for Darwin.
1 parent b5a40b8 commit 2359d33

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libcharset/tools/all-locales

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ case "$host_os" in
1616
freebsd*)
1717
cd /usr/share/locale && ls -1
1818
;;
19+
darwin*)
20+
cd /usr/share/locale && ls -1 */LC_CTYPE | sed -e 's,/LC_CTYPE$,,'
21+
;;
1922
*)
2023
echo "Don't know how to determine list of locales on $host_os" 1>&2
2124
exit 1

0 commit comments

Comments
 (0)