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