diff options
Diffstat (limited to 'Makefile.common')
-rw-r--r-- | Makefile.common | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.common b/Makefile.common index 1519f2cf3e..c3267c2122 100644 --- a/Makefile.common +++ b/Makefile.common @@ -118,7 +118,7 @@ VERSION_FILES = \ $(srcdir)/dists/iphone/Info.plist \ $(srcdir)/dists/macosx/Info.plist -VERSION = $(shell cat "${srcdir}/base/internal_version.h" | cut -d\" -f2) +VERSION = $(shell tail -n 1 "${srcdir}/base/internal_version.h" | cut -d\" -f2) VER_MAJOR = $(shell echo $(VERSION) | cut -d. -f 1) VER_MINOR = $(shell echo $(VERSION) | cut -d. -f 2) VER_PATCH = $(shell echo $(VERSION) | cut -d. -f 3 | cut -c1) |