summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index ccbfd7c..53e4ac3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -112,7 +112,7 @@ ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
endif
# will want path info for some things... Like patches/changelogs...
-pwd_string := $(shell expr "${pwd_dir}" : '.*-\([0-9.].*\)')
+pwd_string := $(shell expr "${pwd_dir}" : '.*-\([X?0-9.].*\)')
ifeq (, $(findstring +,${pwd_string}))
pwd_version := ${pwd_string}
else