From e2e48d9e840daf66c5926830e87f9f9a54afa92b Mon Sep 17 00:00:00 2001 From: Micheal Quinn Date: Mon, 12 Aug 2019 11:04:50 -0500 Subject: [PATCH] Adding in fix for macOS (Darwin) not having an install case. Uses the same logic from install_file_freebsd --- src/install/rewrite.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/install/rewrite.txt b/src/install/rewrite.txt index 76807f2..03b5886 100644 --- a/src/install/rewrite.txt +++ b/src/install/rewrite.txt @@ -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"