Permalink
Browse files

Merge pull request #129 from martinos/master

Https url for thor file location should not be expanded.
  • Loading branch information...
2 parents 86eca8e + fff110f commit 2aacc315c3d758f3209a8ad065fd95fd13a05c4b Brian Donovan committed May 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/thor/runner.rb
View
@@ -73,7 +73,7 @@ def install(name)
as = basename if as.empty?
end
- location = if options[:relative] || name =~ /^http:\/\//
+ location = if options[:relative] || name =~ /^https?:\/\//
name
else
File.expand_path(name)

0 comments on commit 2aacc31

Please sign in to comment.