check definition of ANDROID_ROOT

This commit is contained in:
AJ ONeal 2017-05-09 10:29:29 -06:00
parent 9828a19f8c
commit a8ed9b3185
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ else
fi fi
# Not every platform has or needs sudo, gotta save them O(1)s... # Not every platform has or needs sudo, gotta save them O(1)s...
sudo_cmd="" sudo_cmd=""
((EUID)) && [[ -z "$ANDROID_ROOT" ]] && sudo_cmd="sudo" ((EUID)) && [[ -z "${ANDROID_ROOT-}" ]] && sudo_cmd="sudo"
############################### ###############################
# # # #