diff options
author | dec05eba <dec05eba@dec05ebas-iMac.local> | 2018-09-29 22:49:01 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-06 07:39:33 +0200 |
commit | 3f543a7c36f503f8b8d10c9885d2ece81a955ff5 (patch) | |
tree | e4db81cba45ceb920b4d38dadf2735efa573ac01 /install.sh | |
parent | e7ebd55c31148089eb54ffbd708216c1c7cb09ff (diff) |
Update readme, project.conf and install script for mac
Diffstat (limited to 'install.sh')
-rwxr-xr-x | install.sh | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -3,9 +3,16 @@ set -e case "$(uname -s)" in - Linux*) bin_dir="/usr/bin" ;; - Darwin*) bin_dir="/usr/local/bin" ;; - *) echo "The install file can only be run on linux and mac" && exit 1 ;; + Linux*) + bin_dir="/usr/bin" + ;; + Darwin*) + bin_dir="/usr/local/bin" + export PKG_CONFIG_PATH="/usr/local/opt/libarchive/lib/pkgconfig/" + ;; + *) + echo "The install file can only be run on linux and mac" && exit 1 + ;; esac project_dir=`dirname $0` |