From c2007f753a9b841636aed013da3468ae4ea7de4e Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 23 Mar 2017 19:43:15 +0100 Subject: [PATCH] version in setversion-sh --- setversion-sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setversion-sh b/setversion-sh index 205c7611..ee6bde24 100755 --- a/setversion-sh +++ b/setversion-sh @@ -1,7 +1,8 @@ #!/bin/sh # set the version numbers in hyper.rc automatically export VER=`grep "#define VER " hyper.cpp | sed "s/#define VER \"//" | sed "s/\"//"` -export VERNUM=`grep "#define VERNUM " hyper.cpp | sed "s/#define VERNUM //" | sed "s/^\(.\)\(.\)\(.\)\(.\)$/\1.\2.\4.\3/"` +#export VERNUM=`grep "#define VERNUM " hyper.cpp | sed "s/#define VERNUM //" | sed "s/^\(.\)\(.\)\(.\)\(.\)$/\1.\2.\4.\3/"` +VERNUM=9,4,0,3 #VERNUM=8.1.7.0 #echo $VERNUM sed "s/\"ProductVersion\", \"\(.*\)\"/\"ProductVersion\", \"$VER\"/" -i hyper.rc