From 9187fa5377687271dcafd2bfe8cccf92430e6bc0 Mon Sep 17 00:00:00 2001 From: Joe Borg Date: Fri, 8 Mar 2019 17:06:54 +0000 Subject: [PATCH] Fixing deprecated env vars --- src/en/developer-layers-interfaces.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/en/developer-layers-interfaces.md b/src/en/developer-layers-interfaces.md index a9bcd19ef..d9a2319d6 100644 --- a/src/en/developer-layers-interfaces.md +++ b/src/en/developer-layers-interfaces.md @@ -129,10 +129,10 @@ interface-layers you may wish to write, and the ```bash export JUJU_REPOSITORY=$HOME/charms -export LAYER_PATH=$JUJU_REPOSITORY/layers -export INTERFACE_PATH=$JUJU_REPOSITORY/interfaces +export CHARM_LAYER_DIRS=$JUJU_REPOSITORY/layers +export CHARM_INTERFACE_DIRS=$JUJU_REPOSITORY/interfaces -mkdir -p $LAYER_PATH $INTERFACE_PATH +mkdir -p $CHARM_LAYER_DIRS $CHARM_INTERFACE_DIRS ``` !!! Note: @@ -141,7 +141,7 @@ mkdir -p $LAYER_PATH $INTERFACE_PATH add the same export statements to a resource file that are evaluated when you create a new console such as `~/.bashrc` depending on your shell. -The export of `INTERFACE_PATH` is an environment variable which tells the +The export of `CHARM_INTERFACE_DIRS` is an environment variable which tells the `charm build` process where to scan for local interfaces not found in the [layer registry](https://github.com/juju/layer-index/). @@ -150,7 +150,7 @@ With our interface repository created, we can now create our new interface. Next, create the directory to warehouse your interface. ```Bash -mkdir -p $INTERFACE_PATH/http +mkdir -p $CHARM_INTERFACE_DIRS/http ``` And declare the interface's metadata in `interface.yaml`.