summaryrefslogtreecommitdiffstats
path: root/mksrc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mksrc.sh')
-rwxr-xr-xmksrc.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/mksrc.sh b/mksrc.sh
index 427a170..1f6fced 100755
--- a/mksrc.sh
+++ b/mksrc.sh
@@ -9,6 +9,10 @@ VER=${2-0.4}
RPM=$(php -r "printf('%.2f', $VER);")
svn export -r $REV svn://svn.tuxfamily.org/svnroot/qet/qet/trunk qelectrotech-${VER}-svn${REV}
+
+sed -e "/displayedVersion/s/${VER}-dev/${VER}-dev (Revision ${REV})/" \
+ -i qelectrotech-${VER}-svn${REV}/sources/qet.h
+
tar czf qelectrotech-${VER}-svn${REV}.tgz qelectrotech-${VER}-svn${REV}
rm -rf qelectrotech-${VER}-svn${REV}