check definition of ANDROID_ROOT
This commit is contained in:
parent
9828a19f8c
commit
a8ed9b3185
|
@ -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"
|
||||||
|
|
||||||
###############################
|
###############################
|
||||||
# #
|
# #
|
||||||
|
|
Loading…
Reference in New Issue