[Kst] branches/work/kst/portto4/kst/cmake

Peter Kümmel syntheticpp at gmx.net
Fri Oct 19 09:23:20 UTC 2012


SVN commit 1321332 by kuemmel:

make version name completely overwritable

 M  +4 -6      travis.sh  


--- branches/work/kst/portto4/kst/cmake/travis.sh #1321331:1321332
@@ -6,9 +6,9 @@
 
 # ---------------------------------------------------------
 #
-# set kstversion to overwrite generated one
+# set versionname to overwrite generated one
 #
-#kstversion=
+#versionname=
 
 
 
@@ -178,8 +178,8 @@
 #
 # build Kst
 #
-date=`date --utc '+%Y.%m.%d-%H.%M'`
 ver=2.0.x
+date=`date --utc '+%Y.%m.%d-%H.%M'`
 cd $builddir
 if [ "$1" = "qt5" ]; then
     ver=$ver-Qt5
@@ -189,10 +189,8 @@
     qtopt="-Dkst_qt4=/opt/$qtver -Dkst_opengl=0"
 fi
 
-if [ -z $kstversion ]; then
+if [ -z $versionname ]; then
     versionname=Kst-$ver-$date
-else
-    versionname=Kst-$kstversion
 fi
 
 $cmakebin ../kst/cmake/ \


More information about the Kst mailing list