From 579c61facb711b85d2a4a78cd7d0d1efdebc916f Mon Sep 17 00:00:00 2001 From: Stefano Stabellini Date: Fri, 24 Apr 2015 10:40:10 +0000 Subject: [PATCH] raisin: do not exit if sudo is not installed. Signed-off-by: Stefano Stabellini --- lib/common-functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/common-functions.sh b/lib/common-functions.sh index 3b512d1..d38788b 100644 --- a/lib/common-functions.sh +++ b/lib/common-functions.sh @@ -25,8 +25,8 @@ function common_init() { elif [[ ! -f `which sudo 2>/dev/null` ]] then echo "Raisin requires sudo to install build dependencies for you." - echo "Please install sudo, then run this script again." - exit 1 + echo "You can only build without it." + export SUDO="" fi if [[ -z "$BASH_VERSINFO" || ${BASH_VERSINFO[0]} -lt 3 || -- 2.39.5