diff options
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` |