From 2cbd5a14939c340eadeb0c6f7a2b7abbe7672d00 Mon Sep 17 00:00:00 2001
From: Zachary Slater <zachary@ioquake.org>
Date: Wed, 19 Apr 2006 22:57:04 +0000
Subject: [PATCH] Minor makefile change (blame gentoo's vapier if it doesn't
 work right)

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 88a7969e..aceab28a 100644
--- a/Makefile
+++ b/Makefile
@@ -132,7 +132,7 @@ LIBSDIR=$(MOUNT_DIR)/libs
 
 # extract version info
 VERSION=$(shell grep Q3_VERSION $(CMDIR)/q_shared.h | \
-  sed -e 's/.*Q3\ \(.*\)"/\1/')
+  sed -e 's/.*".* \([^ ]*\)"/\1/') 
 
 ifeq ($(wildcard .svn),.svn)
   SVN_VERSION=$(VERSION)_SVN$(shell LANG=C svnversion .)