aboutsummaryrefslogtreecommitdiff
path: root/Makefile.common
diff options
context:
space:
mode:
authorstrangerke2011-04-30 22:00:17 +0200
committerstrangerke2011-04-30 22:01:06 +0200
commit54ddd000dcbe43f4b58d30b6b7e98775233bff01 (patch)
treed51da95e90fd503f27aa289e00025223626768c3 /Makefile.common
parent96965b4896a15aca8a26f2b517b8a634738aa0de (diff)
downloadscummvm-rg350-54ddd000dcbe43f4b58d30b6b7e98775233bff01.tar.gz
scummvm-rg350-54ddd000dcbe43f4b58d30b6b7e98775233bff01.tar.bz2
scummvm-rg350-54ddd000dcbe43f4b58d30b6b7e98775233bff01.zip
AmigaOS4: Adapt configure to latest SDK (Patch created by Raziel^)
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)