version.c.SH: Fix generation not incrementing
This commit is contained in:
parent
3b9507d0e9
commit
2a4b3ea648
1 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ echo "Extracting $package/src/version.c..."
|
||||||
|
|
||||||
if test -r version.c.last
|
if test -r version.c.last
|
||||||
then
|
then
|
||||||
generation=`sed -n 's/^char \*generation = \"\(.*\)\";/\1/p' < version.c.last`
|
generation=`sed -n 's/^const char \*generation = \"\(.*\)\";/\1/p' < version.c.last`
|
||||||
if test ! "$generation" ; then generation=0; fi
|
if test ! "$generation" ; then generation=0; fi
|
||||||
else
|
else
|
||||||
generation=0
|
generation=0
|
||||||
|
|
Loading…
Reference in a new issue