diff options
| author | Adam Vandenberg | 2010-07-12 10:34:38 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-07-12 10:38:17 -0700 |
| commit | e09f51f3b0dc0e66ee02913123c5bfb5bc8a57ea (patch) | |
| tree | 414456364f49d234b1025257620989f769a0634b /Library/Formula/cdargs.rb | |
| parent | de1ed86fed98b235df3c5edfd1575d98bb5aad49 (diff) | |
| download | homebrew-e09f51f3b0dc0e66ee02913123c5bfb5bc8a57ea.tar.bz2 | |
Tweak cdargs
* Remove "FileUtils." prefix; it is included in formula.rb
* Remove silly path concatenation
Diffstat (limited to 'Library/Formula/cdargs.rb')
| -rw-r--r-- | Library/Formula/cdargs.rb | 6 |
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. |
