From: Dana Jansens Date: Sat, 11 Jan 2003 04:54:36 +0000 (+0000) Subject: check for cvs in the version properly X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=8c0857543316c922394ba96768099e2b60aba126;p=chaz%2Fopenbox check for cvs in the version properly --- 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])