From 9973f4e4c99dc7e23d3494e27d52c27415713c86 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 13 Aug 2009 21:48:14 -0400 Subject: improve python regexps, per bzed --- Debian/Debhelper/Buildsystem/python_distutils.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Debian') diff --git a/Debian/Debhelper/Buildsystem/python_distutils.pm b/Debian/Debhelper/Buildsystem/python_distutils.pm index 4dc2a0d9..bc6e71f7 100644 --- a/Debian/Debhelper/Buildsystem/python_distutils.pm +++ b/Debian/Debhelper/Buildsystem/python_distutils.pm @@ -145,8 +145,8 @@ sub setup_py { # ignored by distutils/setuptools. if ( $act eq "install" and not ( ($python =~ /^python(?:-dbg)?$/ - and $python_default =~ /^python2.[2345]$/) - or $python =~ /^python2.[2345](?:-dbg)?$/ )) { + and $python_default =~ /^python2\.[2345]$/) + or $python =~ /^python2\.[2345](?:-dbg)?$/ )) { $this->doit_in_sourcedir($python, "setup.py", $act, @_, "--install-layout=deb"); } -- cgit v1.2.3