mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-01 05:37:58 +02:00
ci-install.sh: make ci_in_docker follow the yes/no convention too
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=98889
This commit is contained in:
parent
367526aff6
commit
e7c048f36a
1 changed files with 2 additions and 2 deletions
|
|
@ -29,7 +29,7 @@ NULL=
|
|||
: "${ci_distro:=ubuntu}"
|
||||
: "${ci_docker:=}"
|
||||
: "${ci_host:=native}"
|
||||
: "${ci_in_docker:=}"
|
||||
: "${ci_in_docker:=no}"
|
||||
: "${ci_suite:=trusty}"
|
||||
|
||||
if [ $(id -u) = 0 ]; then
|
||||
|
|
@ -111,7 +111,7 @@ case "$ci_distro" in
|
|||
;;
|
||||
esac
|
||||
|
||||
if [ -n "$ci_in_docker" ]; then
|
||||
if [ "$ci_in_docker" = yes ]; then
|
||||
# Add the user that we will use to do the build inside the
|
||||
# Docker container, and let them use sudo
|
||||
adduser --disabled-password user </dev/null
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue