aboutsummaryrefslogtreecommitdiffstats
path: root/Library/ENV/scm/git
diff options
context:
space:
mode:
authorJack Nagel2014-10-05 20:15:18 -0500
committerJack Nagel2014-10-05 20:15:18 -0500
commit5dd1092f5f7e8651ace6d6986039b8cc8f9b7e21 (patch)
treec6225afa6f77f62f4dbe11fe0be72865bc190b0b /Library/ENV/scm/git
parentfacb82e4bcacff3e73de74362bfc9f046159ac09 (diff)
downloadbrew-5dd1092f5f7e8651ace6d6986039b8cc8f9b7e21.tar.bz2
Remove last usage of StrictSubversionDownloadStrategy
This strategy is only used in one formula, so we can just replace it with a dependency. It could be done with a requirement, but since this is a low-impact change (it only matters for head builds on Leopard), I'm not sure it's worth the effort. The constant is retained for compatibility, though I could find only one other reference to it on GitHub, in a formula that was removed from core almost two years ago.
Diffstat (limited to 'Library/ENV/scm/git')
-rwxr-xr-xLibrary/ENV/scm/git7
1 files changed, 1 insertions, 6 deletions
diff --git a/Library/ENV/scm/git b/Library/ENV/scm/git
index 888a6ff11..e4d36b583 100755
--- a/Library/ENV/scm/git
+++ b/Library/ENV/scm/git
@@ -15,12 +15,7 @@ def exec *args
return if arg0 =~ /^#{F}/i
return if File.expand_path(arg0) == File.expand_path(__FILE__)
- if args[1] == '-print-path' and File.executable? args[0]
- puts args[0]
- exit 0
- else
- Kernel.exec *args
- end
+ Kernel.exec(*args)
end
case F.downcase