Commit Graph
12 Commits
Author SHA1 Message Date
Jack Nagel 6078e757bb extend/fileutils: suppress discarded method definition warnings 2013-03-28 17:37:29 -05:00
Mike McQuaid bf0a97b79c Add with_system_path to run using system PATHs.
Needed for Linux compatibility.
2013-03-11 18:26:25 +00:00
Mike McQuaid 6c32a0d075 Add current Ruby globals.
Allows access to the Ruby path. Needed for Linux
porting.
2013-03-11 18:26:25 +00:00
Jack Nagel 37f198542d Move ruby methods to FileUtils extension 2013-02-02 11:24:55 -06:00
Misty De Meo f94f56239a FileUtils: backport #copy_metadata fix
Entry_#copy_metadata has a nasty bug that makes copying symlinks
across filesystems fail. This lasted all the way through 1.9.3p194
before *finally* being fixed. This backports the official fix.

Fixes #14710.
2012-09-27 09:52:06 -05:00
Max Howell 1fc68c62d8 Clean up and improve build-error output and logs
All logs are now stored from each command executed in Formula.install.

Error output is truncated to five lines in an attempt to not overwhelm the user and to encourage users to read the error output and report the bug properly. Maybe we can get that figure up from 70% to 90%.
2012-09-25 11:31:56 -04:00
Max Howell 28d795032a Don't catch build errors 2012-08-29 22:25:29 -04:00
Max Howell 744031b4af Block form of chdir can only be used once
If you nest them, the library complains. So let's not do that.

/cc @jacknagel
2012-08-29 19:49:11 -04:00
Max Howell 1392cd40f8 Ensure mktemp cleans up after itself
Ignore interrupts.
2012-08-29 12:41:36 -04:00
Mike McQuaid 548d6a54ad Fix Ruby warnings.
Fixes #11966.
2012-05-01 20:45:17 +08:00
Jack Nagel 38fffe732f Extend FileUtils rather than include it
Fixes #10729.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-06 19:23:51 -06:00
Adam Vandenberg fcb33f7c54 Move path utils out of formula.rb
Make a new module for our FileUtils extensions and use that instead.
2012-03-05 21:14:39 -08:00