Skip to content

Commit

Permalink
fix charm build help message (#542)
Browse files Browse the repository at this point in the history
`charm build --help`:

    Build charms will be placed into $CHARM_BUILD_DIR/{charm_name} (defaults to current directory)

This is not true, the real path in code is `/tmp/charm-builds/`

Signed-off-by: Joe Guo <guoqiao@gmail.com>
  • Loading branch information
guoqiao authored and johnsca committed Aug 23, 2019
1 parent 1ffd2b3 commit d58808f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charmtools/build/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -856,7 +856,7 @@ def main(args=None):
"interface layers"),
("CHARM_BUILD_DIR", "Build charms will be placed into "
"$CHARM_BUILD_DIR/{charm_name} "
"(defaults to current directory)"),
"(defaults to /tmp/charm-builds/)"),
("JUJU_REPOSITORY", "Deprecated: If CHARM_BUILD_DIR is not set but "
"this is, built charms will be placed into "
"$JUJU_REPOSITORY/builds/{charm_name}"),
Expand Down

0 comments on commit d58808f

Please sign in to comment.