mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-16 07:15:43 +01:00
postgresql.inc: fix do_package_qa error
Replacing P with BP to fix following do_package_qa error for lib32-postgresql: ERROR: QA Issue: File /usr/src/debug/lib32-postgresql/16.4/src/pl/plperl/SPI.c in package lib32-postgresql-src contains reference to TMPDIR [buildpaths] Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
8a34c94412
commit
38b7821838
|
|
@ -242,7 +242,7 @@ postgresql_fix_sources () {
|
|||
for f in ${PKGD}${TARGET_DBGSRC_DIR}/src/pl/plperl/Util.c \
|
||||
${PKGD}${TARGET_DBGSRC_DIR}/src/pl/plperl/SPI.c; do
|
||||
if [ -e $f ]; then
|
||||
sed -i -e 's#${B}/../${P}#${TARGET_DBGSRC_DIR}#g' $f
|
||||
sed -i -e 's#${B}/../${BP}#${TARGET_DBGSRC_DIR}#g' $f
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user