author | mark <mark> | 2002-02-04 21:09:13 (UTC) |
---|---|---|
committer | mark <mark> | 2002-02-04 21:09:13 (UTC) |
commit | ad32a5ffb9fcc666977c93fc074741fdfe22e5c4 (patch) (unidiff) | |
tree | d453aa891b8c63eb7c078ac55663b223974cf10a | |
parent | 4b769e6189666065937c8c34ba131d5ed6e66dfb (diff) | |
download | opie-ad32a5ffb9fcc666977c93fc074741fdfe22e5c4.zip opie-ad32a5ffb9fcc666977c93fc074741fdfe22e5c4.tar.gz opie-ad32a5ffb9fcc666977c93fc074741fdfe22e5c4.tar.bz2 |
Read in $SUB_VERSION from library/version.h
-rwxr-xr-x | mkipks | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -11,6 +11,7 @@ ln -s ../init.d/qpe etc/rc2.d/S98qpe | |||
11 | VERSION_MAJ=$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\..*\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) | 11 | VERSION_MAJ=$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\..*\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) |
12 | VERSION_MIN=$(sed -n -e 's/.*QPE_VERSION ".*\.\([0-9]*\)\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) | 12 | VERSION_MIN=$(sed -n -e 's/.*QPE_VERSION ".*\.\([0-9]*\)\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) |
13 | VERSION_PAT=$(sed -n -e 's/.*QPE_VERSION ".*\..*\.\([0-9]*\).*/\1/p' <$OPIEDIR/include/qpe/version.h) | 13 | VERSION_PAT=$(sed -n -e 's/.*QPE_VERSION ".*\..*\.\([0-9]*\).*/\1/p' <$OPIEDIR/include/qpe/version.h) |
14 | SUB_VERSION=$(sed -n -e 's,.*SUB_VERSION \"\(.*\)\".*,\1,p' <$OPIEDIR/include/qpe/version.h) | ||
14 | if grep -q 'QPE_VERSION .*snapshot' $OPIEDIR/include/qpe/version.h | 15 | if grep -q 'QPE_VERSION .*snapshot' $OPIEDIR/include/qpe/version.h |
15 | then | 16 | then |
16 | VERSION_CVS="_$(date +%Y%m%d)" | 17 | VERSION_CVS="_$(date +%Y%m%d)" |