diff options
author | Ulrich Müller <ulm@gentoo.org> | 2023-04-30 09:31:38 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2023-04-30 20:13:10 +0200 |
commit | f979b313a858358d77b2c67eb1036cb9b7b9a571 (patch) | |
tree | 0f3d70b2b99a511781f7e06cd087de0b7927a2d1 | |
parent | fowners: Drop unused EPREFIX variable (diff) | |
download | portage-f979b313.tar.gz portage-f979b313.tar.bz2 portage-f979b313.zip |
fowners, fperms: Restore QA warning
Suggested-by: Michał Górny <mgorny@gentoo.org>
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rwxr-xr-x | bin/ebuild-helpers/fowners | 6 | ||||
-rwxr-xr-x | bin/ebuild-helpers/fperms | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/bin/ebuild-helpers/fowners b/bin/ebuild-helpers/fowners index a6409e40d..fa4e3c0d7 100755 --- a/bin/ebuild-helpers/fowners +++ b/bin/ebuild-helpers/fowners @@ -19,6 +19,12 @@ for arg; do args+=( "${arg}" ) else args+=( "${ED%/}/${arg#/}" ) + # remove the QA warning after 2024-12-31 + if [[ ${arg:0:1} != / ]]; then + eqawarn "${0##*/}: Path '${arg}' does not start with '/'." + eqawarn "This is unsupported. Add a slash for a path in \${ED}," + eqawarn "or use 'chown' for a path relative to the working dir." + fi fi done diff --git a/bin/ebuild-helpers/fperms b/bin/ebuild-helpers/fperms index 989075eb7..d52f5a767 100755 --- a/bin/ebuild-helpers/fperms +++ b/bin/ebuild-helpers/fperms @@ -20,6 +20,12 @@ for arg; do args+=( "${arg}" ) else args+=( "${ED%/}/${arg#/}" ) + # remove the QA warning after 2024-12-31 + if [[ ${arg:0:1} != / ]]; then + eqawarn "${0##*/}: Path '${arg}' does not start with '/'." + eqawarn "This is unsupported. Add a slash for a path in \${ED}," + eqawarn "or use 'chmod' for a path relative to the working dir." + fi fi done |