aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2014-03-27Return early so we can reduce nesting of conditionalsJack Nagel
2014-03-27Fix overly defensive handling of src parameter in make_relative_symlinkJack Nagel
This method is for internal use only. It is unsuitable for use in formulae, which should use install_symlink to create relative symlinks. Thus callers are required to pass a Pathname, not a string, and we can remove this conditional. Further, if src is not absolute, then src.relative_path_from(dirname) will fail. All callers currently pass absolute pathnames. Therefore we don't need to call expand_path when printing it.
2014-03-27Don't mix boolean operator typesJack Nagel
2014-03-27Put constant strings in a constantJack Nagel
2014-03-27Fix Keg#find so we don't have to deal with it everywhereJack Nagel
lol inheritance
2014-03-27link: fix output ordering when exceptions are raisedJack Nagel
2014-03-27link: print wrapper is not always requiredJack Nagel
2014-03-27Replace files atomically when relocating, take twoJack Nagel
2014-03-27Revert "Replace files atomically when relocating"Jack Nagel
There are some weird interactions with ensure_writable and atomic_write that need to be sorted out. Fixes Homebrew/homebrew#27917. This reverts commit 41c21e6ea5647823a9e589a56f0494b622e26fb2.
2014-03-27extend/string: backport #rpartitionMisty De Meo
2014-03-27Assert that Keg#link produces relative symlinksJack Nagel
2014-03-27Assert that the broken symlink is actually overwrittenJack Nagel
2014-03-27Don't let broken symlinks halt linkingJack Nagel
2014-03-27Fix conflicting symlink adviceJack Nagel
Closes Homebrew/homebrew#27899.
2014-03-26Add missing newline to link and unlink in verbose modeJack Nagel
2014-03-26Replace files atomically in inreplaceJack Nagel
2014-03-26Drop intermediate variableJack Nagel
2014-03-26Replace files atomically when relocatingJack Nagel
2014-03-26Tab#write always overwrites, no need to unlinkJack Nagel
2014-03-26Fall back to Process.gid if we aren't a member of the file's groupJack Nagel
2014-03-26Put tempfile into binmode before writingJack Nagel
2014-03-26CLT.installed?: base result on version detectionMisty De Meo
CLT.installed? previously returned false if the user had outdated dev tools installed after a 10.9 upgrade, which was confusing to users.
2014-03-25Failing to install plist shouldn't prevent linkingJack Nagel
2014-03-25Write plists atomicallyJack Nagel
2014-03-25Revert "doctor: use double quotes for setting PATH."Mike McQuaid
I'm an idiot. This reverts commit f890e4973840a66a522189c8e5530bff61d17162.
2014-03-25audit: don't warn about tarball in non-GitHub URL.Mike McQuaid
2014-03-25doctor: use double quotes for setting PATH.Mike McQuaid
Closes Homebrew/homebrew#27619.
2014-03-25cc: don't add linker arguments if only -v passed.dinkypumpkin
Supports configure scripts (e.g., mplayer) that use "gcc -v" to identify compiler. Closes Homebrew/homebrew#27793. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-03-25Don't load the full debugger when readline is the formula being installedJack Nagel
Fixes Homebrew/homebrew#27842.
2014-03-24Filter -fno-delete-null-pointer-checks for clangJack Nagel
Fixes Homebrew/homebrew#27836.
2014-03-24Check existence of target keg instead of hiding exceptionsJack Nagel
2014-03-24bottle_version: handle pazpar2 style.Mike McQuaid
2014-03-23LD64Dependency: super before setting env procMisty De Meo
Otherwise super will overwrite @env_proc with the default value.
2014-03-23Expose some keg methodsJack Nagel
2014-03-22LD64Dependency: adjust initializer signatureMisty De Meo
The method signature of Dependency changed in 1fdf69b90382c43493a5f62f0020729289db6c70, however LD64Dependency was missed in the update. This resulted in failures in merge_repeats(), which creates many dependency objects using all three arguments.
2014-03-22Don't send, just call the method directlyJack Nagel
2014-03-22Drop inaccurate commentJack Nagel
require "time" Time.parse(Time.now.to_s)
2014-03-22Use canonicalized path for loaded install receiptsJack Nagel
2014-03-22Try to find install receipt when keg is unlinkedJack Nagel
This roughly matches the logic we use to determine the active keg in ARGV.kegs.
2014-03-22Write install receipts atomicallyJack Nagel
2014-03-22Preserve permissions when using Pathname#atomic_writeJack Nagel
2014-03-22dependency_collector: use ArgumentError exception.Mike McQuaid
Avoids errors with `brew versions` when bottling. References Homebrew/homebrew#27615.
2014-03-22Remove unnecessary swearing.Mike McQuaid
2014-03-22example-formula: remove double quotes, cleanup.Mike McQuaid
2014-03-21audit: #{prefix}/Frameworks -> #{frameworks}Jack Nagel
2014-03-21More flags clang dislikesJack Nagel
2014-03-21audit: suggest proper `if build.with(out)` usageIan Lancaster
Closes Homebrew/homebrew#27759. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-03-21Stop advertising deprecated symbol dependenciesJack Nagel
2014-03-20Filter out -fcheck-newJack Nagel
2014-03-19Always build from source when given --interactiveJack Nagel
Closes Homebrew/homebrew#27716.