File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 27
27
# Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
28
28
# Portions Copyright (c) 1994, Regents of the University of California
29
29
#
30
- # $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.180 2003/01/15 23:37:28 petere Exp $
30
+ # $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.181 2003/01/21 10:11:52 petere Exp $
31
31
#
32
32
# -------------------------------------------------------------------------
33
33
@@ -1048,7 +1048,7 @@ $ECHO_N "creating information schema... "$ECHO_C
1048
1048
# Format version number to format required by information schema (09.08.0007abc).
1049
1049
major_version=` echo $VERSION | sed ' s/^\([0-9]*\).*/00\1/;s/.*\(..\)$/\1/' `
1050
1050
minor_version=` echo $VERSION | sed ' s/^[0-9]*\.\([0-9]*\).*/00\1/;s/.*\(..\)$/\1/' `
1051
- micro_version=` echo $VERSION | sed ' s/^[0-9]*\.[0-9]*\.\([0-9]*\).*/0000\1/; t L; s/.*/0000/;q; : L; s/.*\(....\)$/\1/' `
1051
+ micro_version=` echo $VERSION | sed -e ' s/^[0-9]*\.[0-9]*\.\([0-9]*\).*/0000\1/' -e ' t L' -e ' s/.*/0000/;q' -e ' : L' -e ' s/.*\(....\)$/\1/' `
1052
1052
letter_version=` echo $VERSION | sed ' s/^.*[0-9]\([^0-9]*\)$/\1/' `
1053
1053
combined_version=" $major_version .$minor_version .$micro_version$letter_version "
1054
1054
You can’t perform that action at this time.
0 commit comments