Skip to content

Commit

Permalink
silence sdkmanager
Browse files Browse the repository at this point in the history
  • Loading branch information
courville committed Mar 19, 2022
1 parent fb26437 commit b59111c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export ANDROID_NDK_ROOT=${NDK_PATH}
if [ ! -d "${androidSdk}/cmake" ]
then
cmake=$(pkg="cmake"; sdkmanager --list | grep ${pkg} | sed "s/^.*\($pkg;[0-9\.]*\).*$/\1/g" | head -n 1)
sdkmanager "${cmake}"
yes | sdkmanager "${cmake}" > /dev/null
fi
# latest cmake
[ -d "${androidSdk}/cmake" ] && CMAKE_PATH=$(ls -d ${androidSdk}/cmake/* | sort -V | tail -n 1)
Expand Down

0 comments on commit b59111c

Please sign in to comment.