Use make_mock_top function
Followup cleanup CL to address the comments from https://android-review.git.corp.google.com/c/platform/build/soong/+/2757787 Bug: b/300498226 Change-Id: If07e1fb21e97bd4b7550d29eaf7736b5894d797f
This commit is contained in:
parent
ca390b2f00
commit
7983cc2876
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ function make_mock_top {
|
|||
if [[ -n "$HARDWIRED_MOCK_TOP" ]]; then
|
||||
MOCK_TOP="$HARDWIRED_MOCK_TOP"
|
||||
else
|
||||
MOCK_TOP=$(mktemp -t -d st.XXXXX)
|
||||
MOCK_TOP=$(make_mock_top)
|
||||
trap cleanup_mock_top EXIT
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue