summaryrefslogtreecommitdiffstats
path: root/redhat/applications/utilities/kompose/kompose.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/utilities/kompose/kompose.spec')
-rw-r--r--redhat/applications/utilities/kompose/kompose.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/redhat/applications/utilities/kompose/kompose.spec b/redhat/applications/utilities/kompose/kompose.spec
index bfbab4f42..e9d65c5a4 100644
--- a/redhat/applications/utilities/kompose/kompose.spec
+++ b/redhat/applications/utilities/kompose/kompose.spec
@@ -103,7 +103,7 @@ by a scaled screen shot of it. It appears as a panel applet.
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