summaryrefslogtreecommitdiffstats
path: root/mksrc.sh
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-02-27 10:26:28 +0100
committerRemi Collet <fedora@famillecollet.com>2014-02-27 10:26:28 +0100
commitec89ab6661a95ea866c0cba37a5bc7b946d305b0 (patch)
tree1d27b1e52f3922759662e3b4bbbdae2886f3d52e /mksrc.sh
parent64e1b4c02e70ba237e94d5e14a908279bee5ef9c (diff)
qelectrotech-0.40-0.1.svn2878
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}