diff options
author | Marcus Comstedt | 2009-03-17 22:49:00 +0000 |
---|---|---|
committer | Marcus Comstedt | 2009-03-17 22:49:00 +0000 |
commit | cdc05e2ea59ee0e17a8b26e207479ee42f043c90 (patch) | |
tree | ebb97445f063392fa5262bc6326c0642352f83d4 | |
parent | 6cc6603e9be22d456809a8b3aa324e723d94c3a4 (diff) | |
download | scummvm-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
-rw-r--r-- | Makefile.common | 2 |
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) |