forked from coolaj86/node-installer.sh
set ANDROID_ROOT empty
This commit is contained in:
parent
0171162f20
commit
5f231f9d22
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue