
cherokee at cherokee-project
Nov 15, 2009, 1:55 PM
Post #1 of 1
(75 views)
Permalink
|
|
[3822] cherokee/trunk/configure.in: Adds git support to the --enable-beta parameter.
|
|
Revision: 3822 http://svn.cherokee-project.com/changeset/3822 Author: alo Date: 2009-11-15 22:55:41 +0100 (Sun, 15 Nov 2009) Log Message: ----------- Adds git support to the --enable-beta parameter. Modified Paths: -------------- cherokee/trunk/configure.in Modified: cherokee/trunk/configure.in =================================================================== --- cherokee/trunk/configure.in 2009-11-15 21:24:18 UTC (rev 3821) +++ cherokee/trunk/configure.in 2009-11-15 21:55:41 UTC (rev 3822) @@ -62,7 +62,11 @@ if test x"$is_beta" = "xyes"; then if test -d ".svn"; then - svn_rev="`svn info -R | grep Revision | sort | tail -1 | sed 's/Revision: //'`"; + svn_rev="`svn info -R | grep Revision | sort | tail -1 | sed 's/Revision: //'`"; + else + if test -d ".git"; then + svn_rev="`git svn info | grep 'Last Changed Rev' | sed 's/Last Changed Rev: //'`"; + fi fi PACKAGE_PATCH_VERSION="b$svn_rev"
|