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:
parent
66efe74094
commit
677f44da6d
1 changed files with 3 additions and 0 deletions
|
@ -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";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue