From a8ed9b3185e20f956ffb5fe36237e2203cfaa82c Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 9 May 2017 10:29:29 -0600 Subject: [PATCH] check definition of ANDROID_ROOT --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 17d169a..f4c81f3 100755 --- a/install.sh +++ b/install.sh @@ -13,7 +13,7 @@ else fi # Not every platform has or needs sudo, gotta save them O(1)s... sudo_cmd="" -((EUID)) && [[ -z "$ANDROID_ROOT" ]] && sudo_cmd="sudo" +((EUID)) && [[ -z "${ANDROID_ROOT-}" ]] && sudo_cmd="sudo" ############################### # #