aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/dmd.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2010-08-08 10:20:15 -0700
committerAdam Vandenberg2010-08-08 11:24:36 -0700
commit2e7d624242adf41918ff2fb725032c5da8c8a926 (patch)
tree7333058abfbb7532a1a950a9b107466211e5e13e /Library/Formula/dmd.rb
parent90e8a6309a4f05544894dc320ac4635b895d606e (diff)
downloadhomebrew-2e7d624242adf41918ff2fb725032c5da8c8a926.tar.bz2
Update formulae to use path shortcuts
Diffstat (limited to 'Library/Formula/dmd.rb')
-rw-r--r--Library/Formula/dmd.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Formula/dmd.rb b/Library/Formula/dmd.rb
index e11017535..ee1a67edf 100644
--- a/Library/Formula/dmd.rb
+++ b/Library/Formula/dmd.rb
@@ -26,11 +26,11 @@ class Dmd <Formula
(prefix+'src/dmd').rmtree # we don't need the dmd sources thanks
man5.install man1+'dmd.conf.5' # oops
- (prefix+'share/d/examples').install Dir['samples/d/*.d']
+ (share+'d/examples').install Dir['samples/d/*.d']
- (prefix+'bin/dmd.conf').open('w') do |f|
+ (bin+'dmd.conf').open('w') do |f|
f.puts "[Environment]"
- f.puts "DFLAGS=-I#{prefix}/src/phobos -L-L#{prefix}/lib"
+ f.puts "DFLAGS=-I#{prefix}/src/phobos -L#{lib}"
end
end
end \ No newline at end of file