author | kergoth <kergoth> | 2003-01-26 03:28:56 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2003-01-26 03:28:56 (UTC) |
commit | 7efc361470c6c91eb06ae7e800bb64aa645f6f73 (patch) (unidiff) | |
tree | afe4a0d664c4e59ae43345f2a6c3431da9dcb809 /mkipks | |
parent | 7d889b3840f2d07b2eb2d9ebb3df17d0a4ea686d (diff) | |
download | opie-7efc361470c6c91eb06ae7e800bb64aa645f6f73.zip opie-7efc361470c6c91eb06ae7e800bb64aa645f6f73.tar.gz opie-7efc361470c6c91eb06ae7e800bb64aa645f6f73.tar.bz2 |
mkipks
-rwxr-xr-x | mkipks | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |