From d754e773395e151c0c8bddbb4e1eeed1c6d99c9a2bd02fd0f89ca990435110c4 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 6 Jul 2024 18:43:01 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=589 --- cmake.macros | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cmake.macros b/cmake.macros index 151665d..131ca63 100644 --- a/cmake.macros +++ b/cmake.macros @@ -77,6 +77,5 @@ DESTDIR=%{buildroot} %__builder install -C %__builddir %ctest \ - cd %__builddir \ - %__ctest --output-on-failure --force-new-ctest-process %{?_smp_mflags} \ - cd .. + cd %__builddir && \ + %__ctest --output-on-failure --force-new-ctest-process %{?_smp_mflags}