summaryrefslogtreecommitdiffstats
path: root/utils/common
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2012-03-06 21:45:54 +0100
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2012-03-06 21:45:54 +0100
commit7d2c7b83b58086905ef9578cc87c0346e109179e (patch)
tree72608b5bf7e70d2322956528ec47f82b79c58df3 /utils/common
parentb069562ef4146c2b377d14bbe6cb35f0ff4fd043 (diff)
downloadrockbox-7d2c7b83b58086905ef9578cc87c0346e109179e.tar.gz
rockbox-7d2c7b83b58086905ef9578cc87c0346e109179e.tar.bz2
rockbox-7d2c7b83b58086905ef9578cc87c0346e109179e.zip
Rockbox Utility: add "revision" information back.
Add a revision-like information and make deploy.py replace it with the git hash. Change-Id: Ic88ad0b2af255e76a7129a6a5cf52663b868fd32
Diffstat (limited to 'utils/common')
-rwxr-xr-xutils/common/deploy-rbutil.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/common/deploy-rbutil.py b/utils/common/deploy-rbutil.py
index 3a23862b7c..389438e920 100755
--- a/utils/common/deploy-rbutil.py
+++ b/utils/common/deploy-rbutil.py
@@ -56,9 +56,9 @@ deploy.progexe = {
"linux2" : "RockboxUtility"
}
deploy.regreplace = {
- "rbutil/rbutilqt/version.h" : [["SVN \$.*\$", "SVN r%REVISION%"],
+ "rbutil/rbutilqt/version.h" : [["\$Rev\$", "%REVISION%"],
["(^#define BUILDID).*", "\\1 \"-%BUILDID%\""]],
- "rbutil/rbutilqt/Info.plist" : [["SVN \$.*\$", "SVN r%REVISION%"]],
+ "rbutil/rbutilqt/Info.plist" : [["\$Rev\$", "%REVISION%"]],
}
# OS X 10.6 defaults to gcc 4.2. Building universal binaries that are
# compatible with 10.4 requires using gcc-4.0.