Skip to content
Snippets Groups Projects
Commit efd0c24c authored by Allan McRae's avatar Allan McRae :speech_balloon:
Browse files

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: default avatarAllan McRae <allan@archlinux.org>
parent a6b06a5b
No related branches found
No related tags found
No related merge requests found
Pipeline #33042 passed
......@@ -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%/*}"
mkdir -p "${dest%/*}"
[[ -f "$file" ]]; then
cp -- "$file" "$dest"
fi
done < <(source_files "$binary")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment