aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2012-08-29 14:44:29 -0400
committerMax Howell2012-08-29 14:45:05 -0400
commitf60875189d25d5fee1a977da8fd8e80b4b72f0e2 (patch)
tree31ff955e9013263d17e9b01ef37ff590dc73c39d /Library
parent6c21f8dc16a88ff1ed01a021dcba79e6d7137c76 (diff)
downloadhomebrew-f60875189d25d5fee1a977da8fd8e80b4b72f0e2.tar.bz2
Don't use full paths to tools anymore
xcwoclt doesn't have /usr/bin/ar, and superenv ensures that PATHs are in a good order so that our tools are used. std-env may break… but I can fix this by massaging std-env's paths. I want to keep std-env around. It's the traditional route.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/dotwrp.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/dotwrp.rb b/Library/Formula/dotwrp.rb
index 1f0146b7b..6a2bb3264 100644
--- a/Library/Formula/dotwrp.rb
+++ b/Library/Formula/dotwrp.rb
@@ -12,8 +12,8 @@ class Dotwrp < Formula
# note: fno-underscoring is vital to override the symbols in Accelerate
system "#{ENV["FC"]} #{ENV["FFLAGS"]} -fno-underscoring -c dotwrp.f90"
- system "/usr/bin/ar -cru libdotwrp.a dotwrp.o"
- system "/usr/bin/ranlib libdotwrp.a"
+ system "ar -cru libdotwrp.a dotwrp.o"
+ system "ranlib libdotwrp.a"
lib.install 'libdotwrp.a'
end