Wed Jul 21 23:45:20 PDT 2004
- Previous message: [Slony1-commit] By darcyb: Finnalize autoversion nameing, HEAD-`date` if no version
- Next message: [Slony1-commit] By darcyb: Do not say successfully installed if there was an install
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Log Message:
-----------
Make use of a more portable compound sed string
Also it turns out that RPM's do not like - in their version numbers but _ is ok
Modified Files:
--------------
slony1-engine:
configure.ac (r1.28 -> r1.29)
-------------- next part --------------
Index: configure.ac
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/configure.ac,v
retrieving revision 1.28
retrieving revision 1.29
diff -Lconfigure.ac -Lconfigure.ac -u -w -r1.28 -r1.29
--- configure.ac
+++ configure.ac
@@ -10,8 +10,8 @@
#
# Process this file with autoconf to produce a configure script.
# ----------
-m4_define([SLONREL_VERSION], esyscmd([echo "$Name$" | sed -e 's/\: REL_//;s/\$//g;s/_/./g;s/\./\-/3;s/\ //g'| tr -d '\n']))
-ifelse([SLONREL_VERSION],`:',m4_define([SLONREL_VERSION], esyscmd([echo `date +HEAD-%Y%m%d`|tr -d '\n'])))
+m4_define([SLONREL_VERSION], esyscmd([echo "$Name$" | sed -e 's/\:\ REL_//' -e 's/\$//g' -e 's/_/./g' -e 's/\./\_/3' -e 's/\ //g'| tr -d '\n']))
+ifelse([SLONREL_VERSION],`:',m4_define([SLONREL_VERSION], esyscmd([echo `date +HEAD_%Y%m%d`|tr -d '\n'])))
AC_INIT(postgresql-slony1-engine,[SLONREL_VERSION])
AC_CONFIG_HEADERS(config.h)
AC_CONFIG_AUX_DIR(config)
- Previous message: [Slony1-commit] By darcyb: Finnalize autoversion nameing, HEAD-`date` if no version
- Next message: [Slony1-commit] By darcyb: Do not say successfully installed if there was an install
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list