[Fusionforge-commits] r8698 - trunk

Roland Mas lolando at libremir.placard.fr.eu.org
Fri Jan 29 13:55:35 CET 2010


Author: lolando
Date: 2010-01-29 13:55:35 +0100 (Fri, 29 Jan 2010)
New Revision: 8698

Modified:
   trunk/Makefile.debian
Log:
Fixed version detection

Modified: trunk/Makefile.debian
===================================================================
--- trunk/Makefile.debian	2010-01-29 12:54:13 UTC (rev 8697)
+++ trunk/Makefile.debian	2010-01-29 12:55:35 UTC (rev 8698)
@@ -26,8 +26,7 @@
 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




More information about the Fusionforge-commits mailing list