Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7983cc28 authored by Kousik Kumar's avatar Kousik Kumar
Browse files

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
parent ca390b2f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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