From 11ea86d820e8a9600078e8b8f181d1a6c25dac94 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sat, 3 Sep 2016 18:35:26 +0300 Subject: Set config.install.sudo to [null] if sudo is empty --- build.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index c70f66f..5081c2c 100755 --- a/build.sh +++ b/build.sh @@ -139,7 +139,12 @@ case "$sys" in ;; *) conf_rpath="$idir/lib" - conf_sudo="$sudo" + + if test -n "$sudo"; then + conf_sudo="$sudo" + else + conf_sudo="[null]" + fi ;; esac -- cgit v1.1