aboutsummaryrefslogtreecommitdiff
path: root/Makefile.common
diff options
context:
space:
mode:
authorLittleboy2011-05-02 17:18:22 -0400
committerLittleboy2011-05-02 17:21:10 -0400
commit0e45aa8655dc3122e8d88dbcb67ab2013a292989 (patch)
treef523e5c1870497528d85385ce5ef24259937813c /Makefile.common
parent580986aa42889c9a775b3ebe5709292d779f41cf (diff)
parent1aff380a15f12e53bd380fc2a189882e2d6172c0 (diff)
downloadscummvm-rg350-0e45aa8655dc3122e8d88dbcb67ab2013a292989.tar.gz
scummvm-rg350-0e45aa8655dc3122e8d88dbcb67ab2013a292989.tar.bz2
scummvm-rg350-0e45aa8655dc3122e8d88dbcb67ab2013a292989.zip
Merge remote-tracking branch 'upstream/master' into nsis
Conflicts: devtools/create_project/scripts/postbuild.cmd devtools/create_project/visualstudio.cpp ports.mk
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile.common b/Makefile.common
index 6646af8e8d..e96774fe4e 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -154,8 +154,7 @@ endif
# Get the current version information
######################################################################
-# AmigaOS4's grep has a problem with "./" in pathnames, so use cat.
-VERSION = $(shell cat "${srcdir}/base/internal_version.h" | grep SCUMMVM_VERSION | cut -d\" -f2)
+VERSION = $(shell grep SCUMMVM_VERSION "${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)