diff options
Diffstat (limited to 'import-layers/yocto-poky/scripts/sysroot-relativelinks.py')
-rwxr-xr-x | import-layers/yocto-poky/scripts/sysroot-relativelinks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/import-layers/yocto-poky/scripts/sysroot-relativelinks.py b/import-layers/yocto-poky/scripts/sysroot-relativelinks.py index e44eba2b11..ffe254728b 100755 --- a/import-layers/yocto-poky/scripts/sysroot-relativelinks.py +++ b/import-layers/yocto-poky/scripts/sysroot-relativelinks.py @@ -24,7 +24,7 @@ def handlelink(filep, subdir): os.symlink(os.path.relpath(topdir+link, subdir), filep) for subdir, dirs, files in os.walk(topdir): - for f in files: + for f in dirs + files: filep = os.path.join(subdir, f) if os.path.islink(filep): #print("Considering %s" % filep) |