aboutsummaryrefslogtreecommitdiff
path: root/Makefile.common
diff options
context:
space:
mode:
authorMarcus Comstedt2009-03-17 22:49:00 +0000
committerMarcus Comstedt2009-03-17 22:49:00 +0000
commitcdc05e2ea59ee0e17a8b26e207479ee42f043c90 (patch)
treeebb97445f063392fa5262bc6326c0642352f83d4 /Makefile.common
parent6cc6603e9be22d456809a8b3aa324e723d94c3a4 (diff)
downloadscummvm-rg350-cdc05e2ea59ee0e17a8b26e207479ee42f043c90.tar.gz
scummvm-rg350-cdc05e2ea59ee0e17a8b26e207479ee42f043c90.tar.bz2
scummvm-rg350-cdc05e2ea59ee0e17a8b26e207479ee42f043c90.zip
tail on e.g. Solaris does not support the use of "-n 1". Use the good old "-1" syntax instead.
svn-id: r39497
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.common b/Makefile.common
index b6428f86de..a1a6cac9ea 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 tail -n 1 "${srcdir}/base/internal_version.h" | cut -d\" -f2)
+VERSION = $(shell tail -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)