summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/devtool')
-rw-r--r--scripts/lib/devtool/standard.py2
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
1712def _guess_recipe_update_mode(srctree, rdata): 1712def _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'