summaryrefslogtreecommitdiffstats
path: root/redhat/applications/development/kxmleditor/kxmleditor.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/development/kxmleditor/kxmleditor.spec')
-rw-r--r--redhat/applications/development/kxmleditor/kxmleditor.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/redhat/applications/development/kxmleditor/kxmleditor.spec b/redhat/applications/development/kxmleditor/kxmleditor.spec
index 0774e17db..02f005d10 100644
--- a/redhat/applications/development/kxmleditor/kxmleditor.spec
+++ b/redhat/applications/development/kxmleditor/kxmleditor.spec
@@ -113,7 +113,7 @@ Development files for KXMLEditor.
%build
-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