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}