aboutsummaryrefslogtreecommitdiff
path: root/tools/Linux
diff options
context:
space:
mode:
authorwsnipex <wsnipex@a1.net>2014-05-31 11:07:02 +0200
committerwsnipex <wsnipex@a1.net>2014-06-30 09:17:12 +0200
commit5e266372993396ee38fbc2a5d80514dff4e8158b (patch)
tree4674481ffed45509d01acdb3f7e44b3d8b236100 /tools/Linux
parentfb8f055fe26ee6d166528bf50040a270899d04af (diff)
autogenerate xbmc version dependent files
Diffstat (limited to 'tools/Linux')
-rwxr-xr-xtools/Linux/packaging/mk-debian-package.sh4
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}"