Handle the case when OUT_DIR is not set.
Bug: 137977523 Test: manual Change-Id: I6a4bcc5099223f28bce72bf10004c01327598fc7
This commit is contained in:
parent
da6a7f458b
commit
b13f9c520c
|
@ -22,4 +22,4 @@ declare -r kzip_count=$(find $OUT_DIR -name '*.kzip' | wc -l)
|
||||||
# Pack
|
# Pack
|
||||||
# TODO(asmundak): this should be done by soong.
|
# TODO(asmundak): this should be done by soong.
|
||||||
declare -r allkzip=all.kzip
|
declare -r allkzip=all.kzip
|
||||||
"$OUT_DIR/soong/host/linux-x86/bin/merge_zips" "$DIST_DIR/$allkzip" @<(find $OUT_DIR -name '*.kzip')
|
"${OUT_DIR:-out}/soong/host/linux-x86/bin/merge_zips" "$DIST_DIR/$allkzip" @<(find $OUT_DIR -name '*.kzip')
|
||||||
|
|
Loading…
Reference in New Issue