Merge "Handle the case when OUT_DIR is not set."

This commit is contained in:
Treehugger Robot
2019-08-16 01:05:41 +00:00
committed by Gerrit Code Review

View File

@@ -22,4 +22,4 @@ declare -r kzip_count=$(find $OUT_DIR -name '*.kzip' | wc -l)
# Pack
# TODO(asmundak): this should be done by soong.
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')