2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-21 19:22:05 +00:00

To have xcat 2.13 build use package name like snap...

This commit is contained in:
ertaozh 2016-12-02 01:39:43 -05:00
parent 6009f17957
commit e2bbd534fb
2 changed files with 3 additions and 1 deletions

View File

@ -180,7 +180,7 @@ function setversionvars {
VER=`cat Version`
fi
XCATVER=$VER
export XCATVER
#export XCATVER
SHORTVER=`echo $VER|cut -d. -f 1,2`
SHORTSHORTVER=`echo $VER|cut -d. -f 1`
BUILD_TIME=`date`

View File

@ -215,6 +215,8 @@ fi
OSNAME=$(uname)
if [ -z "$XCATVER" ] ; then
VER=`cat Version`
REL="--define"
EASE='usedate 1'
else
VER=$XCATVER
REL="--define"