]> Dogcows Code - chaz/openbox/commitdiff
check for cvs in the version properly
authorDana Jansens <danakj@orodu.net>
Sat, 11 Jan 2003 04:54:36 +0000 (04:54 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 11 Jan 2003 04:54:36 +0000 (04:54 +0000)
m4/openbox.m4

index e5b91ff8ef3278df054fa67c2976491bba0ec1aa..6c56f768a53089fb9fe8add5ce3e86238ee042f1 100644 (file)
@@ -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])
This page took 0.023708 seconds and 4 git commands to generate.