diff options
author | Ulrich Müller <ulm@gentoo.org> | 2023-08-16 19:07:09 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2023-08-17 23:49:37 +0200 |
commit | 2c755c274a4bd82e5881c315e3cfad05cc371179 (patch) | |
tree | 2353fea653e39461d377c802b435c553062eb5d5 /metadata/install-qa-check.d | |
parent | dev-util/difftastic: Add 0.50.0, remove 0.49.0 (diff) | |
download | gentoo-2c755c274a4bd82e5881c315e3cfad05cc371179.tar.gz gentoo-2c755c274a4bd82e5881c315e3cfad05cc371179.tar.bz2 gentoo-2c755c274a4bd82e5881c315e3cfad05cc371179.zip |
metadata/install-qa-check.d: Check for subdirs in /bin and its friends
Bug: https://bugs.gentoo.org/912354
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'metadata/install-qa-check.d')
-rw-r--r-- | metadata/install-qa-check.d/08gentoo-paths | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/metadata/install-qa-check.d/08gentoo-paths b/metadata/install-qa-check.d/08gentoo-paths index 4d84925d8539..5b8607fd5f96 100644 --- a/metadata/install-qa-check.d/08gentoo-paths +++ b/metadata/install-qa-check.d/08gentoo-paths @@ -53,7 +53,11 @@ gentoo_path_check() { fi done - # 3. check for unexpected /usr/share/doc subdirectories + # 3. check for unexpected subdirectories in bin and sbin + local bin_subdirs=( "${ED%/}"{,/usr}/{bin,sbin}/*/ ) + bad_paths+=( "${bin_subdirs[@]%/}" ) + + # 4. check for unexpected /usr/share/doc subdirectories local doc_dirs=( "${ED%/}"/usr/share/doc/* ) for x in "${doc_dirs[@]##*/}"; do if [[ ${x} != ${PF} ]]; then |