${debugedit_found}
then
vecho "installsources: rsyncing source files"
- [[ -d ${ED}${prepstrip_sources_dir} ]] || mkdir -p "${ED}${prepstrip_sources_dir}"
+ [[ -d ${D}${prepstrip_sources_dir} ]] || mkdir -p "${D}${prepstrip_sources_dir}"
grep -zv '/<[^/>]*>$' "${T}"/debug.sources | \
(cd "${WORKDIR}"; LANG=C sort -z -u | \
- rsync -tL0 --files-from=- "${WORKDIR}/" "${ED}${prepstrip_sources_dir}/" )
+ rsync -tL0 --files-from=- "${WORKDIR}/" "${D}${prepstrip_sources_dir}/" )
# Preserve directory structure.
# Needed after running save_elf_sources.
while read -r -d $'\0' emptydir
do
>> "$emptydir"/.keepdir
- done < <(find "${ED}${prepstrip_sources_dir}/" -type d -empty -print0)
+ done < <(find "${D}${prepstrip_sources_dir}/" -type d -empty -print0)
fi