diff options
author | Peter Korsgaard <peter@korsgaard.com> | 2018-03-09 15:30:43 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2018-03-09 22:23:35 +0100 |
commit | 7cfceeb91e2d14907cd48226ccc7bcb6df10ee1c (patch) | |
tree | 939f0fd8ae64ecf97379623743d2cd4f055d637e /package/btrfs-progs/0003-btrfs-progs-convert-add-missing-types-header.patch | |
parent | 324cc39ba13a3cbdd1f146cf59d0f145661830bc (diff) | |
download | buildroot-7cfceeb91e2d14907cd48226ccc7bcb6df10ee1c.tar.gz buildroot-7cfceeb91e2d14907cd48226ccc7bcb6df10ee1c.zip |
utils/scanpypi: correctly handle license dirs in subdirs for .hash files
create_hash_file() used basename(licensefile) when it writes the entry for
the license file in the .hash, which is obviously not correct when license
file is locate in a sub directory.
Instead copy the logic from __create_mk_license() to strip the directory
prefix from the absolute filename instead.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/btrfs-progs/0003-btrfs-progs-convert-add-missing-types-header.patch')
0 files changed, 0 insertions, 0 deletions