From 1b356fe5435374e85d5b782252dea293b40667d0 Mon Sep 17 00:00:00 2001 From: Walter van Niftrik Date: Sat, 28 Mar 2009 23:39:59 +0000 Subject: Fix bug #2691034: AMIGAOS: Makefile.common broken. svn-id: r39729 --- Makefile.common | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile.common') diff --git a/Makefile.common b/Makefile.common index 1d19f32a62..50aa72eb6c 100644 --- a/Makefile.common +++ b/Makefile.common @@ -114,7 +114,8 @@ endif # Get the current version information ###################################################################### -VERSION = $(shell grep SCUMMVM_VERSION "${srcdir}/base/internal_version.h" | cut -d\" -f2) +# 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) 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) -- cgit v1.2.3