On Fri, Aug 25, 2023 at 07:55:20PM +0200, Erik Skultety wrote:
> This helper is a shell function transcript of its original GitLab CI
> counterpart.
> 
> Signed-off-by: Erik Skultety <eskul...@redhat.com>
> ---
>  ci/build.sh | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/ci/build.sh b/ci/build.sh
> index 30f4712e4b..6673ec6b18 100644
> --- a/ci/build.sh
> +++ b/ci/build.sh
> @@ -105,3 +105,11 @@ run_rpmbuild() {
>      run_meson_setup
>      run_dist
>  }
> +
> +run_website_build() {
> +    export DESTDIR="$(pwd)/install"

Perhaps use ${GIT_ROOT} instead of $(pwd) to make this stable
regardless of pwd

> +    BUILD_ARGS="install-web"
> +
> +    run_meson_setup

Redundant call

> +    run_build
> +}
> -- 

With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

Reply via email to