aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh7
1 files changed, 6 insertions, 1 deletions
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