2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-10-10 17:38:07 +00:00

Merge pull request #2247 from zet809/fix_2.13_build_issue

To have xcat 2.13 build use package name like snap...
This commit is contained in:
Xiaopeng Wang
2016-12-02 16:22:15 +08:00
committed by GitHub
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"