mirror of https://github.com/schollz/croc.git
Adding in fix for macOS (Darwin) not having an install case. Uses the same logic from install_file_freebsd
This commit is contained in:
parent
b8d1d11b68
commit
e2e48d9e84
|
@ -560,6 +560,8 @@ main() {
|
|||
install_file_rcode="${?}";;
|
||||
"FreeBSD" ) install_file_freebsd "${tmpdir}/${croc_bin_name}" "${prefix}/";
|
||||
install_file_rcode="${?}";;
|
||||
"macOS" ) install_file_freebsd "${tmpdir}/${croc_bin_name}" "${prefix}/";
|
||||
install_file_rcode="${?}";;
|
||||
esac
|
||||
if [[ "${install_file_rcode}" == "0" ]]; then
|
||||
print_message "== Installed ${croc_bin_name} to ${prefix}/" "ok"
|
||||
|
|
Loading…
Reference in New Issue