Skip to content
Permalink
Browse files

scripts: west sign: make it work again

This got broken in the patches which added the build.dir-fmt config
option when BUiLD_DIR_DESCRIPTION was renamed.

Signed-off-by: Marti Bolivar <marti.bolivar@nordicsemi.no>
  • Loading branch information...
mbolivar authored and nashif committed Jun 12, 2019
1 parent fe91e48 commit 3bd07a244ada6d6640a39a775a6b6630371aea7b
Showing with 3 additions and 2 deletions.
  1. +3 −2 scripts/west_commands/sign.py
@@ -16,7 +16,7 @@
from runners.core import BuildConfiguration

from build_helpers import find_build_dir, \
BUILD_DIR_DESCRIPTION
FIND_BUILD_DIR_DESCRIPTION

from zephyr_ext_common import Forceable, \
cached_runner_config
@@ -81,7 +81,8 @@ def do_add_parser(self, parser_adder):
formatter_class=argparse.RawDescriptionHelpFormatter,
description=self.description)

parser.add_argument('-d', '--build-dir', help=BUILD_DIR_DESCRIPTION)
parser.add_argument('-d', '--build-dir',
help=FIND_BUILD_DIR_DESCRIPTION)
self.add_force_arg(parser)

# general options

0 comments on commit 3bd07a2

Please sign in to comment.
You can’t perform that action at this time.