|
diff --git a/mkipks b/mkipks index ffa4ef5..d4e4b38 100755 --- a/ mkipks+++ b/ mkipks |
|
@@ -1,19 +1,20 @@ |
1 | #!/bin/sh |
1 | #!/bin/sh |
2 | |
2 | |
3 | [ -z "$QTE_VERSION" ] && QTE_VERSION=2.3.4 |
3 | [ -z "$QTE_VERSION" ] && QTE_VERSION=2.3.4 |
| |
4 | [ -z "$QTE_BASEVERSION" ] && QTE_BASEVERSION=2.3.4 |
4 | [ -z "$QTE_REVISION" ] && QTE_REVISION=3 |
5 | [ -z "$QTE_REVISION" ] && QTE_REVISION=3 |
5 | DEB_VERSION=2.0 |
6 | DEB_VERSION=2.0 |
6 | |
7 | |
7 | # Have to do this here, since CVS can't store symlinks |
8 | # Have to do this here, since CVS can't store symlinks |
8 | |
9 | |
9 | mkdir -p $OPIEDIR/etc/rcS.d |
10 | mkdir -p $OPIEDIR/etc/rcS.d |
10 | ln -sf ../init.d/bootsplash $OPIEDIR/etc/rcS.d/S01bootsplash |
11 | ln -sf ../init.d/bootsplash $OPIEDIR/etc/rcS.d/S01bootsplash |
11 | |
12 | |
12 | VERSION_MAJ=$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\..*\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) |
13 | VERSION_MAJ=$(sed -n -e 's/.*QPE_VERSION "\([0-9]*\)\..*\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) |
13 | VERSION_MIN=$(sed -n -e 's/.*QPE_VERSION ".*\.\([0-9]*\)\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) |
14 | VERSION_MIN=$(sed -n -e 's/.*QPE_VERSION ".*\.\([0-9]*\)\..*".*/\1/p' <$OPIEDIR/include/qpe/version.h) |
14 | VERSION_PAT=$(sed -n -e 's/.*QPE_VERSION ".*\..*\.\([0-9]*\).*/\1/p' <$OPIEDIR/include/qpe/version.h) |
15 | VERSION_PAT=$(sed -n -e 's/.*QPE_VERSION ".*\..*\.\([0-9]*\).*/\1/p' <$OPIEDIR/include/qpe/version.h) |
15 | SUB_VERSION=$(sed -n -e 's,.*SUB_VERSION \"\(.*\)\".*,\1,p' <$OPIEDIR/include/qpe/version.h) |
16 | SUB_VERSION=$(sed -n -e 's,.*SUB_VERSION \"\(.*\)\".*,\1,p' <$OPIEDIR/include/qpe/version.h) |
16 | if grep -q 'QPE_VERSION .*snapshot' $OPIEDIR/include/qpe/version.h |
17 | if grep -q 'QPE_VERSION .*snapshot' $OPIEDIR/include/qpe/version.h |
17 | then |
18 | then |
18 | [ -z "$VERSION_CVS" ] && VERSION_CVS="$(date +%Y%m%d)" |
19 | [ -z "$VERSION_CVS" ] && VERSION_CVS="$(date +%Y%m%d)" |
19 | SUB_VERSION=$VERSION_CVS |
20 | SUB_VERSION=$VERSION_CVS |
|