Unidiff1 files changed, 1 insertions, 1 deletions
|
diff --git a/mkipks b/mkipks index 63d1e22..ca934d8 100755 --- a/ mkipks+++ b/ mkipks |
|
@@ -15,17 +15,17 @@ ln -sf ../init.d/opieatd $OPIEDIR/ipaq/etc/rc2.d/S96opieatd |
15 | |
15 | |
16 | |
16 | |
17 | VERSION_MAJ=$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\..*\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) |
17 | VERSION_MAJ=$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\..*\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) |
18 | VERSION_MIN=$(sed -n -e 's/.*QPE_VERSION ".*\.\([0-9]*\)\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) |
18 | VERSION_MIN=$(sed -n -e 's/.*QPE_VERSION ".*\.\([0-9]*\)\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) |
19 | VERSION_PAT=$(sed -n -e 's/.*QPE_VERSION ".*\..*\.\([0-9]*\).*/\1/p' <$OPIEDIR/include/qpe/version.h) |
19 | VERSION_PAT=$(sed -n -e 's/.*QPE_VERSION ".*\..*\.\([0-9]*\).*/\1/p' <$OPIEDIR/include/qpe/version.h) |
20 | SUB_VERSION=$(sed -n -e 's,.*SUB_VERSION \"\(.*\)\".*,\1,p' <$OPIEDIR/include/qpe/version.h) |
20 | SUB_VERSION=$(sed -n -e 's,.*SUB_VERSION \"\(.*\)\".*,\1,p' <$OPIEDIR/include/qpe/version.h) |
21 | if grep -q 'QPE_VERSION .*snapshot' $OPIEDIR/include/qpe/version.h |
21 | if grep -q 'QPE_VERSION .*snapshot' $OPIEDIR/include/qpe/version.h |
22 | then |
22 | then |
23 | VERSION_CVS="$(date +%Y%m%d)" |
23 | [ -z "$VERSION_CVS" ] && VERSION_CVS="$(date +%Y%m%d)" |
24 | SUB_VERSION=$VERSION_CVS |
24 | SUB_VERSION=$VERSION_CVS |
25 | else |
25 | else |
26 | VERSION_CVS="" |
26 | VERSION_CVS="" |
27 | fi |
27 | fi |
28 | |
28 | |
29 | QPE_VERSION=$VERSION_MAJ.$VERSION_MIN.$VERSION_PAT |
29 | QPE_VERSION=$VERSION_MAJ.$VERSION_MIN.$VERSION_PAT |
30 | |
30 | |
31 | ARCH=arm |
31 | ARCH=arm |
|