From da5661a2c45d1c397470312540bdeca64af2ccc4 Mon Sep 17 00:00:00 2001 From: Junichi Uekawa Date: Thu, 1 Nov 2007 09:42:35 +0900 Subject: * Bug fix: "pbuilder: pdebuild - Breakage when using XC- headers", thanks to Soren Hansen (Closes: #448757). --- pdebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pdebuild') diff --git a/pdebuild b/pdebuild index 882ad2b..d83df04 100644 --- a/pdebuild +++ b/pdebuild @@ -47,7 +47,7 @@ export BUILDRESULTGID=$(id -g) if [ "${USE_PDEBUILD_INTERNAL}" = 'yes' ]; then ${PBUILDERROOTCMD} ${PDEBUILD_PBUILDER} --execute "$@" ${EXTRA_CONFIGFILE[@]/#/--configfile } --bindmounts $(readlink -f ..) -- /usr/lib/pbuilder/pdebuild-internal ${PWD} --debbuildopts "${DEBBUILDOPTS}" --uid "${BUILDRESULTUID}" --gid "${BUILDRESULTGID}" --pbuildersatisfydepends "$PBUILDERSATISFYDEPENDSCMD" if [ -d "${BUILDRESULT}" ]; then - for files in $(sed -rn '/^Files:/,${s/.* ([^ ]+)$/\1/p}' ../${CHANGES}); do + for files in $(sed -rn '/^Files:/,${s/^ .* ([^ ]+)$/\1/p}' ../${CHANGES}); do cp -a ../"$files" "${BUILDRESULT}" done cp -a ../${CHANGES} "${BUILDRESULT}" -- cgit v1.2.3