mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02:00
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
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue