mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
rpm.eclass: use 'QA Notice:' prefix in eqawarn
This makes life easier for tinderboxes, but we should improve this in some future EAPI. Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# @ECLASS: rpm.eclass
|
||||
@@ -31,9 +31,9 @@ rpm_unpack() {
|
||||
if [[ ${a} == ./* ]] ; then
|
||||
: # nothing to do -- path is local
|
||||
elif [[ ${a} == "${DISTDIR}"/* ]] ; then
|
||||
eqawarn 'do not use ${DISTDIR} with rpm_unpack -- it is added for you'
|
||||
eqawarn 'QA Notice: do not use ${DISTDIR} with rpm_unpack -- it is added for you'
|
||||
elif [[ ${a} == /* ]] ; then
|
||||
eqawarn 'do not use full paths with rpm_unpack -- use ./ paths instead'
|
||||
eqawarn 'QA Notice: do not use full paths with rpm_unpack -- use ./ paths instead'
|
||||
else
|
||||
a="${DISTDIR}/${a}"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user