0
0
Fork 0
mirror of https://github.com/schollz/croc.git synced 2025-10-11 13:21:00 +02:00

check if busybox

This commit is contained in:
Zack Scholl 2024-07-28 08:35:19 -07:00
parent 66efe74094
commit 677f44da6d

View file

@ -577,6 +577,9 @@ main() {
case "${croc_os}" in case "${croc_os}" in
"Darwin" ) croc_os="macOS";; "Darwin" ) croc_os="macOS";;
*"BusyBox"* )
croc_os="Linux"
;;
"CYGWIN"* ) croc_os="Windows"; "CYGWIN"* ) croc_os="Windows";
croc_dl_ext="zip"; croc_dl_ext="zip";
print_message "== Cygwin is currently unsupported." "error"; print_message "== Cygwin is currently unsupported." "error";