[ubuntu] Refactor android sdk build script (#8980)

This commit is contained in:
Shamil Mubarakshin
2023-12-11 11:58:37 +01:00
committed by GitHub
parent d4f6993ac9
commit 4d88245a29
2 changed files with 55 additions and 58 deletions

View File

@@ -54,11 +54,6 @@ IsPackageInstalled() {
dpkg -S $1 &> /dev/null
}
verlte() {
sortedVersion=$(printf "$1\n$2\n" | sort -V | head -n1)
[ "$1" = "$sortedVersion" ]
}
get_toolset_value() {
local toolset_path="/imagegeneration/installers/toolset.json"
local query=$1