Recognize dist suffix

This commit is contained in:
Adam Vandenberg 2012-02-11 15:33:30 -08:00
parent cdd52e28f1
commit 252605b2ae

View File

@ -163,7 +163,7 @@ class Pathname
return $1 if $1 return $1 if $1
# eg foobar-4.5.0-bin # eg foobar-4.5.0-bin
/-((\d+\.)+\d+[abc]?)[-._](bin|stable|src|sources?)$/.match stem /-((\d+\.)+\d+[abc]?)[-._](bin|dist|stable|src|sources?)$/.match stem
return $1 if $1 return $1 if $1
# Debian style eg dash_0.5.5.1.orig.tar.gz # Debian style eg dash_0.5.5.1.orig.tar.gz