diff options
Diffstat (limited to 'scripts/lib/recipetool')
-rw-r--r-- | scripts/lib/recipetool/create.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py index 6cbf4de674..8d78c5b6f9 100644 --- a/scripts/lib/recipetool/create.py +++ b/scripts/lib/recipetool/create.py | |||
@@ -460,6 +460,7 @@ def create_recipe(args): | |||
460 | logger.error('branch= parameter and -B/--srcbranch option cannot both be specified - use one or the other') | 460 | logger.error('branch= parameter and -B/--srcbranch option cannot both be specified - use one or the other') |
461 | sys.exit(1) | 461 | sys.exit(1) |
462 | srcbranch = args.srcbranch | 462 | srcbranch = args.srcbranch |
463 | params['branch'] = srcbranch | ||
463 | nobranch = params.get('nobranch') | 464 | nobranch = params.get('nobranch') |
464 | if nobranch and srcbranch: | 465 | if nobranch and srcbranch: |
465 | logger.error('nobranch= cannot be used if you specify a branch') | 466 | logger.error('nobranch= cannot be used if you specify a branch') |