mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
archive-source.sh: Support subprojects that specify directory different from wrapfile
This commit is contained in:
committed by
mborgerson
parent
8366763943
commit
616a5e5d0b
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user