From 5f231f9d22067f7bac1d603c8425ffafb4deaa42 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sat, 23 Jun 2018 05:16:13 +0000 Subject: [PATCH] set ANDROID_ROOT empty --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 87da1ac..a6638c2 100644 --- a/install.sh +++ b/install.sh @@ -14,7 +14,7 @@ # 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" deps_flag="$1" set -e