mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-09-03 20:53:02 -05:00
Um, quote the sed script so it actually works right. Oops.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13226 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
+3
-3
@@ -29,9 +29,9 @@ AM_INIT_AUTOMAKE(1.9)
|
||||
|
||||
# Parse out the version number
|
||||
GNUCASH_VERSION_STRING=AC_PACKAGE_VERSION
|
||||
GNUCASH_MAJOR_VERSION=`echo $GNUCASH_VERSION_STRING | sed -e 's/^\([^\.]*\)\.\([^.]*\)\.\(.*\)$/\1/'`
|
||||
GNUCASH_MINOR_VERSION=`echo $GNUCASH_VERSION_STRING | sed -e 's/^\([^\.]*\)\.\([^.]*\)\.\(.*\)$/\2/'`
|
||||
GNUCASH_MICRO_VERSION=`echo $GNUCASH_VERSION_STRING | sed -e 's/^\([^\.]*\)\.\([^.]*\)\.\(.*\)$/\3/'`
|
||||
GNUCASH_MAJOR_VERSION=`echo $GNUCASH_VERSION_STRING | [ sed -e 's/^\([^\.]*\)\.\([^.]*\)\.\(.*\)$/\1/' ]`
|
||||
GNUCASH_MINOR_VERSION=`echo $GNUCASH_VERSION_STRING | [ sed -e 's/^\([^\.]*\)\.\([^.]*\)\.\(.*\)$/\2/' ]`
|
||||
GNUCASH_MICRO_VERSION=`echo $GNUCASH_VERSION_STRING | [ sed -e 's/^\([^\.]*\)\.\([^.]*\)\.\(.*\)$/\3/' ]`
|
||||
|
||||
## Do this first, because the other tests depend on it:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user