From 7bba2eeb492d4498fe27f513f2effb2a0098506e Mon Sep 17 00:00:00 2001 From: Roland Mas Date: Fri, 29 Jan 2010 12:55:35 +0000 Subject: [PATCH 1/1] Fixed version detection --- Makefile.debian | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile.debian b/Makefile.debian index 94e25a8e0d..687efa127e 100644 --- a/Makefile.debian +++ b/Makefile.debian @@ -26,8 +26,7 @@ UBULIST=$(UBUNTULIST) $(UBUNTULISTP) LOCALMIRROR=http://localhost/ubuntu UBUNTUOP=$(shell wget -q -S http://localhost/ubuntu -O /dev/null && echo "--mirror $(LOCALMIRROR)" || echo "--mirror http://archive.ubuntu.com/ubuntu") --debootstrap debootstrap -gfversion=$(shell head -1 $(PKGNAME)/debian/changelog | sed 's/.*(\(.[^+-]*\).*).*/\1/') -gfminor=$(shell head -1 $(PKGNAME)/debian/changelog | sed 's/.*(.[^+-]*[+-]\(.*\)).*/\1/') +gfversion=$(shell head -1 $(PKGNAME)/debian/changelog | sed 's/.*(\(.*\)-[^-]*).*/\1/') in_svn_repo:= $(wildcard .svn/) ifeq ($(strip $(in_svn_repo)),) svnrev=unknown -- 2.30.2