Small fix for build-tools directories without numbers
This commit is contained in:
parent
88f2624624
commit
4ab33fec8c
@ -223,7 +223,7 @@ if [ -z "$BUILD_TOOLS_VER" ]; then
|
|||||||
BUILD_TOOLS_DIRS=`ls -1 "$SDK_PATH/build-tools" | sort -V -r`
|
BUILD_TOOLS_DIRS=`ls -1 "$SDK_PATH/build-tools" | sort -V -r`
|
||||||
|
|
||||||
for DIR in $BUILD_TOOLS_DIRS; do
|
for DIR in $BUILD_TOOLS_DIRS; do
|
||||||
if [ "$DIR" = `echo $DIR | sed 's/[^0-9,.]//g'` ]; then
|
if [ "$DIR" = "`echo $DIR | sed 's/[^0-9,.]//g'`" ]; then
|
||||||
BUILD_TOOLS_VER="$DIR"
|
BUILD_TOOLS_VER="$DIR"
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user