diff options
author | Marcus Comstedt | 2011-02-18 20:11:46 +0100 |
---|---|---|
committer | Marcus Comstedt | 2011-02-18 20:12:16 +0100 |
commit | 106380d481a2fe841d89ff05ab0a54f4cdaee918 (patch) | |
tree | 9954e5748c5559cc752b88745ade618c374d8836 /backends/platform | |
parent | 8cddb2a401f7604bc7ffa7d7dfcafbc90cf2bada (diff) | |
download | scummvm-rg350-106380d481a2fe841d89ff05ab0a54f4cdaee918.tar.gz scummvm-rg350-106380d481a2fe841d89ff05ab0a54f4cdaee918.tar.bz2 scummvm-rg350-106380d481a2fe841d89ff05ab0a54f4cdaee918.zip |
DC: Don't use $(VER_REV) with git
It seems unlikely that git will ever be able to produce a $(VER_REV)
of 6 characters or less (the requirement for the version field in
IP.BIN), so don't even try to use it.
Diffstat (limited to 'backends/platform')
-rw-r--r-- | backends/platform/dc/dreamcast.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/dc/dreamcast.mk b/backends/platform/dc/dreamcast.mk index d53af90585..8651a2936c 100644 --- a/backends/platform/dc/dreamcast.mk +++ b/backends/platform/dc/dreamcast.mk @@ -29,7 +29,7 @@ IP.BIN : ip.txt ip.txt : $(srcdir)/backends/platform/dc/ip.txt.in if [ x"$(VER_EXTRA)" = xgit ]; then \ - if [ -z "$(VER_REV)" ]; then ver="GIT"; else ver="r$(VER_REV)"; fi; \ + ver="GIT"; \ else ver="V$(VERSION)"; fi; \ if expr "$$ver" : V...... >/dev/null; then \ ver="V$(VER_MAJOR).$(VER_MINOR).$(VER_PATCH)"; fi; \ |