[Pkg-voip-commits] r4746 - /opal/trunk/debian/rules

kilian at alioth.debian.org kilian at alioth.debian.org
Tue Oct 16 21:55:40 UTC 2007


Author: kilian
Date: Tue Oct 16 21:55:40 2007
New Revision: 4746

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=4746
Log:
fix regexp for get-orig-source

Modified:
    opal/trunk/debian/rules

Modified: opal/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/opal/trunk/debian/rules?rev=4746&op=diff
==============================================================================
--- opal/trunk/debian/rules (original)
+++ opal/trunk/debian/rules Tue Oct 16 21:55:40 2007
@@ -41,8 +41,8 @@
 
 DEBVERSION := $(shell head -n 1 debian/changelog \
 		    | sed -e 's/^[^(]*(\([^)]*\)).*/\1/')
-UPVERSION := $(shell echo $(DEBVERSION) | sed -e 's/^.*://' -e 's/-[0-9.]*$$//' -e 's/~dfsg$$//')
-URLVERSION := $(shell echo $(DEBVERSION) | sed -e 's/^.*://' -e 's/-[0-9.]*$$//' -e 's/~dfsg$$//' -e 's/\./_/g')
+UPVERSION := $(shell echo $(DEBVERSION) | sed -e 's/^.*://' -e 's/-[0-9\.]*$$//' -e 's/~dfsg[0-9]*$$//')
+URLVERSION := $(shell echo $(DEBVERSION) | sed -e 's/^.*://' -e 's/-[0-9\.]*$$//' -e 's/~dfsg[0-9]*$$//' -e 's/\./_/g')
 
 FILENAME := opal_$(UPVERSION)~dfsg.orig.tar.gz
 UPFILENAME := opal_$(UPVERSION).orig.tar.gz




More information about the Pkg-voip-commits mailing list