aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2010-07-12 10:34:38 -0700
committerAdam Vandenberg2010-07-12 10:38:17 -0700
commite09f51f3b0dc0e66ee02913123c5bfb5bc8a57ea (patch)
tree414456364f49d234b1025257620989f769a0634b /Library/Formula
parentde1ed86fed98b235df3c5edfd1575d98bb5aad49 (diff)
downloadhomebrew-e09f51f3b0dc0e66ee02913123c5bfb5bc8a57ea.tar.bz2
Tweak cdargs
* Remove "FileUtils." prefix; it is included in formula.rb * Remove silly path concatenation
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/cdargs.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Formula/cdargs.rb b/Library/Formula/cdargs.rb
index feb5fe6df..4bf307a7b 100644
--- a/Library/Formula/cdargs.rb
+++ b/Library/Formula/cdargs.rb
@@ -10,17 +10,17 @@ class Cdargs <Formula
system "make"
system "make install-strip"
- FileUtils.rm Dir.glob('contrib/Makefile*')
+ rm Dir.glob('contrib/Makefile*')
prefix.install 'contrib'
bash_completion_dir = etc+'bash_completion.d'
bash_completion_dir.mkpath
- FileUtils.ln_sf prefix+'contrib/cdargs-bash.sh', bash_completion_dir+'cdargs-bash.sh'
+ ln_sf prefix+'contrib/cdargs-bash.sh', bash_completion_dir+'cdargs-bash.sh'
end
def caveats; <<-EOS
Support files for bash, tcsh and emacs are located in #{prefix}/contrib.
-The file for bash is also symlinked to #{etc+'bash_completion.d/cdargs-bash.sh'}. Source it from
+The file for bash is also symlinked to #{etc}/bash_completion.d/cdargs-bash.sh. Source it from
your .bash_profile or .bashrc to get nice aliases and bash completion.
Consult the cdargs man page for more details and instructions.