From 1b5766b5a153d215c69bf4374d3c8e2639cec1ba Mon Sep 17 00:00:00 2001 From: Martin Abente Lahaye Date: Sat, 13 Jul 2024 12:48:14 -0400 Subject: [PATCH] ci: Sync install-meson-project.sh with its gnome-shell version This is not strictly needed as the copy in mutter is always run as root, but make sense to sync both just for consistency. See https://gitlab.gnome.org/GNOME/gnome-shell/-/commit/bdbad8ca857d822bfe03dc9f14e2f7f2e6989271 Part-of: --- .gitlab-ci/install-meson-project.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci/install-meson-project.sh b/.gitlab-ci/install-meson-project.sh index d81191fd2..775019341 100755 --- a/.gitlab-ci/install-meson-project.sh +++ b/.gitlab-ci/install-meson-project.sh @@ -96,8 +96,8 @@ meson setup --prefix=/usr _build "${MESON_OPTIONS[@]}" # Install it to an additional directory e.g., system extension directory if [ -n "${DESTDIR}" ]; then - meson install -C _build --destdir=$DESTDIR + sudo meson install -C _build --destdir=$DESTDIR fi -meson install -C _build +sudo meson install -C _build popd