mirror of https://github.com/schollz/croc.git
Adding in message and exit for cygwin.
This commit is contained in:
parent
97f65bf51d
commit
5fbb787a84
|
@ -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…
Reference in New Issue