From ad32a5ffb9fcc666977c93fc074741fdfe22e5c4 Mon Sep 17 00:00:00 2001 From: mark Date: Mon, 04 Feb 2002 21:09:13 +0000 Subject: Read in $SUB_VERSION from library/version.h --- (limited to 'mkipks') diff --git a/mkipks b/mkipks index 45f2fb2..dedb060 100755 --- a/mkipks +++ b/mkipks @@ -11,6 +11,7 @@ ln -s ../init.d/qpe etc/rc2.d/S98qpe VERSION_MAJ=$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\..*\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) VERSION_MIN=$(sed -n -e 's/.*QPE_VERSION ".*\.\([0-9]*\)\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) VERSION_PAT=$(sed -n -e 's/.*QPE_VERSION ".*\..*\.\([0-9]*\).*/\1/p' <$OPIEDIR/include/qpe/version.h) +SUB_VERSION=$(sed -n -e 's,.*SUB_VERSION \"\(.*\)\".*,\1,p' <$OPIEDIR/include/qpe/version.h) if grep -q 'QPE_VERSION .*snapshot' $OPIEDIR/include/qpe/version.h then VERSION_CVS="_$(date +%Y%m%d)" -- cgit v0.9.0.2