Skip to content

Commit

Permalink
archive-source.sh: Support subprojects that specify directory differe…
Browse files Browse the repository at this point in the history
…nt from wrapfile
  • Loading branch information
mborgerson committed Jan 3, 2025
1 parent 2b9541a commit e4fffc4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/archive-source.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,9 @@ test $? -ne 0 && error "failed to archive qemu"

for sp in $subprojects; do
meson subprojects download $sp
sp_dir=$(grep -oP '^directory = \K.*' subprojects/${sp}.wrap || echo ${sp})
# test $? -ne 0 && error "failed to download subproject $sp"
tar --append --file "$tar_file" --exclude=.git subprojects/$sp
tar --append --file "$tar_file" --exclude=.git subprojects/$sp_dir
test $? -ne 0 && error "failed to append subproject $sp to $tar_file"
done

Expand Down

0 comments on commit e4fffc4

Please sign in to comment.