summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/dbus-tqt/dbus-tqt.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/dependencies/dbus-tqt/dbus-tqt.spec')
-rw-r--r--redhat/dependencies/dbus-tqt/dbus-tqt.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/redhat/dependencies/dbus-tqt/dbus-tqt.spec b/redhat/dependencies/dbus-tqt/dbus-tqt.spec
index 9e8e64960..758b7cf8c 100644
--- a/redhat/dependencies/dbus-tqt/dbus-tqt.spec
+++ b/redhat/dependencies/dbus-tqt/dbus-tqt.spec
@@ -159,7 +159,7 @@ See the dbus description for more information about D-BUS in general.
%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