summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/tde-cmake/tde-cmake.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/dependencies/tde-cmake/tde-cmake.spec')
-rw-r--r--redhat/dependencies/tde-cmake/tde-cmake.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/redhat/dependencies/tde-cmake/tde-cmake.spec b/redhat/dependencies/tde-cmake/tde-cmake.spec
index 3728e6314..4901e544e 100644
--- a/redhat/dependencies/tde-cmake/tde-cmake.spec
+++ b/redhat/dependencies/tde-cmake/tde-cmake.spec
@@ -73,7 +73,7 @@ intltool-merge used to merge translations into desktop files.
%build
unset QTDIR QTINC QTLIB
-if ! rpm -E %%cmake|grep -q "cd build"; then
+if ! rpm -E %%cmake|grep -e 'cd build\|cd ${CMAKE_BUILD_DIR:-build}'; then
%__mkdir_p build
cd build
fi