Skip to content

Commit

Permalink
standardize env var names, they now use HAB_*
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Parfitt committed Apr 14, 2016
1 parent f0645b5 commit e7de7fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/hab/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ use hcore::url::DEFAULT_DEPOT_URL;


const SUP_CMD: &'static str = "hab-sup";
const SUP_CMD_ENVVAR: &'static str = "HABITAT_SUP_BINARY";
const SUP_CMD_ENVVAR: &'static str = "HAB_SUP_BINARY";
const SUP_PACKAGE_IDENT: &'static str = "chef/hab-sup";

/// you can skip the --origin CLI param if you specify this env var
const HABITAT_ORIGIN_ENVVAR: &'static str = "HABITAT_ORIGIN";
const HABITAT_ORIGIN_ENVVAR: &'static str = "HAB_ORIGIN";

/// you can skip the org CLI param if you specify this env var
const HABITAT_ORG_ENVVAR: &'static str = "HABITAT_ORG";
const HABITAT_ORG_ENVVAR: &'static str = "HAB_ORG";

fn main() {
if let Err(e) = run_hab() {
Expand Down

1 comment on commit e7de7fa

@chef-delivery
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.