aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/pos.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/pos.rb')
-rw-r--r--Library/Formula/pos.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Formula/pos.rb b/Library/Formula/pos.rb
index 514c78df9..fddeb212c 100644
--- a/Library/Formula/pos.rb
+++ b/Library/Formula/pos.rb
@@ -5,13 +5,12 @@ class Pos <Formula
md5 'c667fb4ca38c96494f888ade9fb4e40a'
homepage "http://sage.ucsc.edu/~wgscott/xtal/wiki/index.php/Unix_and_OS_X:_The_Absolute_Essentials"
- def cdf_script
- <<-END
+ def cdf_script; <<-END
#!/bin/bash
cd "$(posd)"
END
end
-
+
def install
bin.install %w[bin/fdc bin/posd]
(bin+'cdf').write cdf_script