Skip to content

Commit

Permalink
Merge pull request #66 from jonsmorrow/jm/use_usr_local_bin_on_mac
Browse files Browse the repository at this point in the history
Use /usr/local/bin as default bin link dir
  • Loading branch information
fnichol authored Jan 14, 2019
2 parents 16a77c3 + 6322895 commit ae81411
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/binlink.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ use crate::env;
/// Default Binlink Dir
#[cfg(target_os = "windows")]
pub const DEFAULT_BINLINK_DIR: &'static str = "/hab/bin";
#[cfg(not(target_os = "windows"))]
#[cfg(target_os = "linux")]
pub const DEFAULT_BINLINK_DIR: &'static str = "/bin";
#[cfg(target_os = "macos")]
pub const DEFAULT_BINLINK_DIR: &'static str = "/usr/local/bin";

/// Binlink Dir Environment variable
pub const BINLINK_DIR_ENVVAR: &'static str = "HAB_BINLINK_DIR";
Expand Down

0 comments on commit ae81411

Please sign in to comment.