diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2016-09-03 18:35:26 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2016-09-03 18:40:17 +0300 |
commit | 11ea86d820e8a9600078e8b8f181d1a6c25dac94 (patch) | |
tree | 24ff2958782af8780a455ad5344612664f9140f8 /build.sh | |
parent | 92352d5323d39bdcd32f9a560bfa00185ff99c52 (diff) |
Set config.install.sudo to [null] if sudo is empty
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 |