summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-01-11 04:54:36 +0000
committerDana Jansens <danakj@orodu.net>2003-01-11 04:54:36 +0000
commit8c0857543316c922394ba96768099e2b60aba126 (patch)
tree3885a28d80ec67b82b7a68fb5be93adaf5ee30bb
parent1729df46b5da2e04df6779e158707531ce1cae6d (diff)
check for cvs in the version properly
-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])