summaryrefslogtreecommitdiffstats
path: root/redhat/applications/graphics/gwenview-i18n/gwenview-i18n.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/graphics/gwenview-i18n/gwenview-i18n.spec')
-rw-r--r--redhat/applications/graphics/gwenview-i18n/gwenview-i18n.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/redhat/applications/graphics/gwenview-i18n/gwenview-i18n.spec b/redhat/applications/graphics/gwenview-i18n/gwenview-i18n.spec
index f6c3996df..f4c3d5a2e 100644
--- a/redhat/applications/graphics/gwenview-i18n/gwenview-i18n.spec
+++ b/redhat/applications/graphics/gwenview-i18n/gwenview-i18n.spec
@@ -112,7 +112,7 @@ KIPI image framework.
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