From dd0d2264225c44503283bd1d144815167d245be6 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 14 May 2012 15:50:31 -0700 Subject: [PATCH] prepstrip: fix installsources breakage The debug.sources path changed in commit 4941c3c674400116f118a9c75b520c3fd1a25490. --- bin/ebuild-helpers/prepstrip | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/ebuild-helpers/prepstrip b/bin/ebuild-helpers/prepstrip index deb5cabc5..85d5d6a86 100755 --- a/bin/ebuild-helpers/prepstrip +++ b/bin/ebuild-helpers/prepstrip @@ -297,15 +297,15 @@ done # parallel, but not sure that'd be an overall improvement. multijob_finish -cat "${tmpdir}"/sources/* > "${tmpdir}/debug.sources" 2>/dev/null -if [[ -s ${T}/debug.sources ]] && \ +cd "${tmpdir}"/sources/ && cat * > "${tmpdir}/debug.sources" 2>/dev/null +if [[ -s ${tmpdir}/debug.sources ]] && \ ${FEATURES_installsources} && \ ! ${RESTRICT_installsources} && \ ${debugedit_found} then vecho "installsources: rsyncing source files" [[ -d ${D}${prepstrip_sources_dir} ]] || mkdir -p "${D}${prepstrip_sources_dir}" - grep -zv '/<[^/>]*>$' "${T}"/debug.sources | \ + grep -zv '/<[^/>]*>$' "${tmpdir}"/debug.sources | \ (cd "${WORKDIR}"; LANG=C sort -z -u | \ rsync -tL0 --files-from=- "${WORKDIR}/" "${D}${prepstrip_sources_dir}/" ) -- 2.26.2