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

Commit d9f70881 authored by Abel Lucas's avatar Abel Lucas Committed by Gerrit Code Review
Browse files

Merge "avatar: add an `envsetup.sh` script"

parents 5e93e68b 7ae53686
Loading
Loading
Loading
Loading
+13 −0
Original line number Original line Diff line number Diff line
function avatar {
  # avatar script.
  _AVATAR="${ANDROID_BUILD_TOP}/packages/modules/Bluetooth/android/pandora/test/avatar.sh"

  # only compile when needed.
  if [[ "$1" == "run" ]]; then
    m avatar avatar.sh PandoraServer tradefed
    _AVATAR="avatar.sh"
  fi

  # run avatar script.
  "${_AVATAR}" "$@"
}