summaryrefslogtreecommitdiff
authorkergoth <kergoth>2002-10-13 22:36:31 (UTC)
committer kergoth <kergoth>2002-10-13 22:36:31 (UTC)
commit30faba6b2e07457fcda55e6e968f1230a2e5edda (patch) (side-by-side diff)
treeb7edba6aa28c24265f6ce88c0e0e77162cb802ec
parentc94a9c3a93907d8a0c034e5b4c6d0a768d9fea7c (diff)
downloadopie-30faba6b2e07457fcda55e6e968f1230a2e5edda.zip
opie-30faba6b2e07457fcda55e6e968f1230a2e5edda.tar.gz
opie-30faba6b2e07457fcda55e6e968f1230a2e5edda.tar.bz2
minor tweak to allow passing VERSION_CVS via the environment
Diffstat (more/less context) (ignore whitespace changes)
-rwxr-xr-xmkipks2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkipks b/mkipks
index 63d1e22..ca934d8 100755
--- a/mkipks
+++ b/mkipks
@@ -21,5 +21,5 @@ SUB_VERSION=$(sed -n -e 's,.*SUB_VERSION \"\(.*\)\".*,\1,p' <$OPIEDIR/include/qp
if grep -q 'QPE_VERSION .*snapshot' $OPIEDIR/include/qpe/version.h
then
- VERSION_CVS="$(date +%Y%m%d)"
+ [ -z "$VERSION_CVS" ] && VERSION_CVS="$(date +%Y%m%d)"
SUB_VERSION=$VERSION_CVS
else