aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ghostscript.rb
diff options
context:
space:
mode:
authorCaleb Land2009-09-30 11:42:32 -0400
committerMax Howell2009-09-30 19:02:36 +0100
commitd2f3147754cb7f762a89bff22e0f307e8cd23bb1 (patch)
tree6f767f89c551bb439038add12200128d4b752d4d /Library/Formula/ghostscript.rb
parent473ea1c663f6ccf4ccdc043ac5ffd95f1acb38e0 (diff)
downloadhomebrew-d2f3147754cb7f762a89bff22e0f307e8cd23bb1.tar.bz2
use Pathname instead of Dir for fancy path stuff
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'