aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/asymptote.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/asymptote.rb')
-rw-r--r--Library/Formula/asymptote.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/asymptote.rb b/Library/Formula/asymptote.rb
index 3bf92f8f2..07907c96a 100644
--- a/Library/Formula/asymptote.rb
+++ b/Library/Formula/asymptote.rb
@@ -39,7 +39,7 @@ class Asymptote < Formula
def test
ENV['TEXMFHOME'] = "#{HOMEBREW_PREFIX}/share/texmf"
mktemp do
- (Pathname.new(Dir.getwd) + 'asy_test.tex').write <<-EOS.undent
+ (Pathname.pwd+'asy_test.tex').write <<-EOS.undent
\\nonstopmode
\\documentclass{minimal}