Add avbtool alias

As a replacement for the removal of the avbtool symlink

Bug: 198619163
Test: Manually running `avbtool`
Change-Id: I54d504a5132e5ac89337e67a07bca0a6f410c272
This commit is contained in:
Cole Faust 2022-08-30 13:59:07 -07:00
parent d5c36e1fd7
commit 45844ab338

View file

@ -2045,6 +2045,13 @@ function showcommands() {
fi
}
function avbtool() {
if [[ ! -f "$ANDROID_SOONG_HOST_OUT"/bin/avbtool ]]; then
m avbtool
fi
"$ANDROID_SOONG_HOST_OUT"/bin/avbtool $@
}
validate_current_shell
source_vendorsetup
addcompletions