summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--m4/openbox.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/openbox.m4 b/m4/openbox.m4
index e5b91ff8..6c56f768 100644
--- a/m4/openbox.m4
+++ b/m4/openbox.m4
@@ -12,7 +12,7 @@ AC_DEFUN([OB_DEBUG],
[DEBUG=$enableval],[])
# cvs builds are always debug
- test "${VERSION#cvs}" != "$VERSION" && DEBUG = "yes"
+ test "${VERSION%*cvs}" != "$VERSION" && DEBUG="yes"
if test "$DEBUG" = "yes"; then
AC_MSG_RESULT([debug])