diff options
Diffstat (limited to 'scripts/lib/devtool/standard.py')
| -rw-r--r-- | scripts/lib/devtool/standard.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index 4d3ff02be8..ea21877b18 100644 --- a/scripts/lib/devtool/standard.py +++ b/scripts/lib/devtool/standard.py | |||
| @@ -299,6 +299,7 @@ def _extract_source(srctree, keep_temp, devbranch, d): | |||
| 299 | logger.info('Unpacking...') | 299 | logger.info('Unpacking...') |
| 300 | task_executor.exec_func('do_unpack', False) | 300 | task_executor.exec_func('do_unpack', False) |
| 301 | srcsubdir = crd.getVar('S', True) | 301 | srcsubdir = crd.getVar('S', True) |
| 302 | patchsubdir = srcsubdir | ||
| 302 | if srcsubdir == workdir: | 303 | if srcsubdir == workdir: |
| 303 | # Find non-patch sources that were "unpacked" to srctree directory | 304 | # Find non-patch sources that were "unpacked" to srctree directory |
| 304 | recipe_patches = [os.path.basename(patch) for patch in | 305 | recipe_patches = [os.path.basename(patch) for patch in |
| @@ -319,7 +320,7 @@ def _extract_source(srctree, keep_temp, devbranch, d): | |||
| 319 | 320 | ||
| 320 | scriptutils.git_convert_standalone_clone(srcsubdir) | 321 | scriptutils.git_convert_standalone_clone(srcsubdir) |
| 321 | 322 | ||
| 322 | patchdir = os.path.join(srcsubdir, 'patches') | 323 | patchdir = os.path.join(patchsubdir, 'patches') |
| 323 | haspatches = False | 324 | haspatches = False |
| 324 | if os.path.exists(patchdir): | 325 | if os.path.exists(patchdir): |
| 325 | if os.listdir(patchdir): | 326 | if os.listdir(patchdir): |
