Always create directories outputted from debugedit in debug packages
The debugedit call to list all source files may include things like build/<...>. We have been filtering out these <> files, but they can point to the build directory which is important to be available for relative source paths stored in the .debug files. Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
a6b06a5b17
commit
efd0c24c07
1 changed files with 2 additions and 2 deletions
|
@ -72,8 +72,8 @@ strip_file() {
|
|||
while IFS= read -r t; do
|
||||
file="${srcdir}/${t}"
|
||||
dest="${dbgsrc}/${t}"
|
||||
if [[ -f "$file" ]] && ! [[ -f $dest ]]; then
|
||||
mkdir -p "${dest%/*}"
|
||||
[[ -f "$file" ]]; then
|
||||
cp -- "$file" "$dest"
|
||||
fi
|
||||
done < <(source_files "$binary")
|
||||
|
|
Loading…
Add table
Reference in a new issue