aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 88a7969..aceab28 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 .)