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 .)