[Pkg-voip-commits] r7748 - /dahdi-linux/trunk/debian/rules

tzafrir-guest at alioth.debian.org tzafrir-guest at alioth.debian.org
Sun Nov 1 22:28:49 UTC 2009


Author: tzafrir-guest
Date: Sun Nov  1 22:28:49 2009
New Revision: 7748

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=7748
Log:
A slightly less strict pattern: allow letters in the revision

Modified:
    dahdi-linux/trunk/debian/rules

Modified: dahdi-linux/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/dahdi-linux/trunk/debian/rules?rev=7748&op=diff
==============================================================================
--- dahdi-linux/trunk/debian/rules (original)
+++ dahdi-linux/trunk/debian/rules Sun Nov  1 22:28:49 2009
@@ -30,7 +30,7 @@
 
 DEBVERSION:=$(shell head -n 1 debian/changelog \
 		    | sed -e 's/^[^(]*(\([^)]*\)).*/\1/')
-DEB_BASE_VERSION:=$(shell echo $(DEBVERSION) | sed -e 's/^.*://' -e 's/-[0-9.]*$$//')
+DEB_BASE_VERSION:=$(shell echo $(DEBVERSION) | sed -e 's/^.*://' -e 's/-[0-9~.a-z]*$$//')
 UPVERSION:=$(shell echo $(DEB_BASE_VERSION) | sed -e 's/~dfsg\(~\|$$\)/\1/' -e 's/~\(rc\|beta\)/-\1/')
 
 UPFILENAME := $(PACKAGE_SRC)_$(UPVERSION).orig.tar.gz




More information about the Pkg-voip-commits mailing list