aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ghostscript.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/ghostscript.rb')
-rw-r--r--Library/Formula/ghostscript.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/ghostscript.rb b/Library/Formula/ghostscript.rb
index fac5520b1..af8e1697d 100644
--- a/Library/Formula/ghostscript.rb
+++ b/Library/Formula/ghostscript.rb
@@ -22,7 +22,7 @@ class Ghostscript <Formula
# move the included jpeg6 out of the way so we don't use it
FileUtils.rm_rf 'jpeg'
- build_dir = Dir.pwd
+ build_dir = Pathname.getwd
# download jpeg7, extract it, and fool ghostscript into using it
Formula.factory('jpeg').brew do
FileUtils.ln Dir.pwd, build_dir+'jpeg'