summaryrefslogtreecommitdiffstats
path: root/redhat/applications/themes/twin-style-crystal/twin-style-crystal.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/themes/twin-style-crystal/twin-style-crystal.spec')
-rw-r--r--redhat/applications/themes/twin-style-crystal/twin-style-crystal.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/redhat/applications/themes/twin-style-crystal/twin-style-crystal.spec b/redhat/applications/themes/twin-style-crystal/twin-style-crystal.spec
index 1a55d0e80..2397c1ed6 100644
--- a/redhat/applications/themes/twin-style-crystal/twin-style-crystal.spec
+++ b/redhat/applications/themes/twin-style-crystal/twin-style-crystal.spec
@@ -105,7 +105,7 @@ And it is of course nice to look at. Upstream says:
unset QTDIR QTINC QTLIB
export PATH="%{tde_bindir}:${PATH}"
-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