diff --git a/Formula/dmd.rb b/Formula/dmd.rb index 0c0c7f6d72..0ce8991e30 100644 --- a/Formula/dmd.rb +++ b/Formula/dmd.rb @@ -10,7 +10,7 @@ Formula.new(url, md5).brew do |prefix| FileUtils.cp_r 'osx/bin', prefix FileUtils.cp_r 'osx/lib', prefix FileUtils.cp_r 'man', prefix - FileUtils.cp_r 'man', prefix + FileUtils.cp_r 'src', prefix share=prefix+'share'+'doc'+'d' html=share+'html' diff --git a/Formula/grc.rb b/Formula/grc.rb index d26d9f9532..f1518fc28d 100644 --- a/Formula/grc.rb +++ b/Formula/grc.rb @@ -4,6 +4,7 @@ require 'fileutils' def profile_string <<-sput +################################################################## >> Homebrew GRC=`which grc` if [ "$TERM" != dumb ] && [ -n GRC ] then @@ -20,16 +21,14 @@ then alias ping='colourify ping' alias traceroute='colourify /usr/sbin/traceroute' fi +################################################################## << Homebrew sput end ######################################################################### ARGV case ARGV[0] when '--profile' then - puts - puts '################################################################## >> yumports' puts profile_string - puts '################################################################## << yumports' exit 0 end @@ -61,11 +60,11 @@ Formula.new(url, md5).brew do |prefix| puts <<-sput We suggest you add this to your .profile in order to make grc work! :P -#{profile_string} +#{profile_string.strip} We can do this for you: - - #{$0} --profile >> ~/.profile + + ruby #{$0} --profile >> ~/.profile sput end