]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
devtool: fix update-recipe dry-run mode
authorJulien Stephan <jstephan@baylibre.com>
Wed, 22 Nov 2023 11:08:13 +0000 (12:08 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 30 Nov 2023 08:42:52 +0000 (08:42 +0000)
commit85ba125703d5b442133fd7c470b915460ee68ac9
tree45bbab7f3f1a54472ca0fbfb05e5d9180e15e9d6
parentde62069c32fedd094c279b99b2ff389c7e0012aa
devtool: fix update-recipe dry-run mode

When running devtool update-recipe with --mode=srcrev AND --append switch
in dry-run, we get the following error:

  Traceback (most recent call last):
  [...]
  Exception: destpath should be set here

Fix this by removing a misplaced else statement in _update_recipe_srcrev

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
scripts/lib/devtool/standard.py