summaryrefslogtreecommitdiffstats
path: root/redhat/applications/utilities/kommando/kommando.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/utilities/kommando/kommando.spec')
-rw-r--r--redhat/applications/utilities/kommando/kommando.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/redhat/applications/utilities/kommando/kommando.spec b/redhat/applications/utilities/kommando/kommando.spec
index 19a1e09ed..cc39c7652 100644
--- a/redhat/applications/utilities/kommando/kommando.spec
+++ b/redhat/applications/utilities/kommando/kommando.spec
@@ -103,7 +103,7 @@ if [ -d "/usr/X11R6" ]; then
export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
fi
-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