diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/devtool/standard.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index bab644b83a..d140b97de1 100644 --- a/scripts/lib/devtool/standard.py +++ b/scripts/lib/devtool/standard.py | |||
@@ -1711,7 +1711,7 @@ def _update_recipe_patch(recipename, workspace, srctree, rd, appendlayerdir, wil | |||
1711 | 1711 | ||
1712 | def _guess_recipe_update_mode(srctree, rdata): | 1712 | def _guess_recipe_update_mode(srctree, rdata): |
1713 | """Guess the recipe update mode to use""" | 1713 | """Guess the recipe update mode to use""" |
1714 | src_uri = (rdata.getVar('SRC_URI', False) or '').split() | 1714 | src_uri = (rdata.getVar('SRC_URI') or '').split() |
1715 | git_uris = [uri for uri in src_uri if uri.startswith('git://')] | 1715 | git_uris = [uri for uri in src_uri if uri.startswith('git://')] |
1716 | if not git_uris: | 1716 | if not git_uris: |
1717 | return 'patch' | 1717 | return 'patch' |