mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02:00
Adding in message and exit for cygwin.
This commit is contained in:
parent
97f65bf51d
commit
5fbb787a84
1 changed files with 3 additions and 1 deletions
|
@ -533,7 +533,9 @@ main() {
|
||||||
case "${croc_os}" in
|
case "${croc_os}" in
|
||||||
"Darwin" ) croc_os="macOS";;
|
"Darwin" ) croc_os="macOS";;
|
||||||
"CYGWIN"* ) croc_os="Windows";
|
"CYGWIN"* ) croc_os="Windows";
|
||||||
croc_dl_ext="zip";;
|
croc_dl_ext="zip";
|
||||||
|
print_message "== Cygwin is currently unsupported." "error";
|
||||||
|
exit 1;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
case "${croc_arch}" in
|
case "${croc_arch}" in
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue