diff options
author | wsnipex <wsnipex@a1.net> | 2014-05-31 11:07:02 +0200 |
---|---|---|
committer | wsnipex <wsnipex@a1.net> | 2014-06-30 09:17:12 +0200 |
commit | 5e266372993396ee38fbc2a5d80514dff4e8158b (patch) | |
tree | 4674481ffed45509d01acdb3f7e44b3d8b236100 /tools/Linux | |
parent | fb8f055fe26ee6d166528bf50040a270899d04af (diff) |
autogenerate xbmc version dependent files
Diffstat (limited to 'tools/Linux')
-rwxr-xr-x | tools/Linux/packaging/mk-debian-package.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/Linux/packaging/mk-debian-package.sh b/tools/Linux/packaging/mk-debian-package.sh index 5fd2efc976..9a39dfc1c0 100755 --- a/tools/Linux/packaging/mk-debian-package.sh +++ b/tools/Linux/packaging/mk-debian-package.sh @@ -73,8 +73,8 @@ function getVersion { getGitRev if [[ $RELEASEV == "auto" ]] then - local MAJORVER=$(grep VERSION_MAJOR $REPO_DIR/xbmc/GUIInfoManager.h | awk '{ print $3 }') - local MINORVER=$(grep VERSION_MINOR $REPO_DIR/xbmc/GUIInfoManager.h | awk '{ print $3 }') + local MAJORVER=$(grep VERSION_MAJOR $REPO_DIR/version.txt | awk '{ print $2 }') + local MINORVER=$(grep VERSION_MINOR $REPO_DIR/version.txt | awk '{ print $2 }') RELEASEV=${MAJORVER}.${MINORVER} else PACKAGEVERSION="${RELEASEV}~git$(date '+%Y%m%d.%H%M')-${TAG}" |