From 124ee47b336bb89313e8b8e04b0f4b647b28fda4 Mon Sep 17 00:00:00 2001 From: mj Date: Wed, 1 Apr 2015 01:29:34 +0200 Subject: [PATCH] FIX install.sh --- tools/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/install.sh b/tools/install.sh index e8f2612..89b5b39 100755 --- a/tools/install.sh +++ b/tools/install.sh @@ -12,7 +12,7 @@ set -e -if [ $UID == 0 ]; then CMD_PREFIX="sudo"; else CMD_PREFIX=""; fi +if [ "$UID" = "0" ]; then CMD_PREFIX="sudo"; else CMD_PREFIX=""; fi if [ "$SHELL" != "$(which zsh)" ]; then echo "$(which zsh)" -- 2.0.0