aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Homebrew/extend/pathname.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb
index 0986d04f7..7c2a0bd67 100644
--- a/Library/Homebrew/extend/pathname.rb
+++ b/Library/Homebrew/extend/pathname.rb
@@ -164,9 +164,9 @@ class Pathname
/_((\d+\.)+\d+[abc]?)[.]orig$/.match stem
return $1 if $1
- # brew bottle style e.g. qt-4.7.3-bottle.tar.gz
+ # brew bottle style e.g. qt-4.7.3-bottle.tar.gz
/-((\d+\.)*\d+)-bottle$/.match stem
- return $1 if $1
+ return $1 if $1
# eg. otp_src_R13B (this is erlang's style)
# eg. astyle_1.23_macosx.tar.gz