Commit graph

6 commits

Author SHA1 Message Date
Jack Nagel
7c648d9732 Shore up a number of shell quoting issues
When interpolating in strings passed to Formula#system, it should be
done in such a way that if any interpolated variables contain spaces,
they are either (a) passed as part of a list or (b) protected by quotes
if they are part of a long string (which is subject to shell expansion).
Otherwise, they will be split on the space when expanded by the shell
and passed as multiple arguments to whatever process is being executed.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-15 14:03:11 -05:00
Adam Vandenberg
18de10fe0a use which method 2012-03-06 06:53:07 -08:00
Adam Vandenberg
da3fdbd0cf Use "cd" instead of "Dir.chdir"
* And "mkdir" isntead of "Dir.mkdir"
* And "Dir[]" instead of "Dir.glob"
* Also style fixes and nitpicks
2012-02-24 21:35:50 -08:00
Luis Felipe Strano Moraes
a33229a544 noweb: Lion compatibility fixes
- Included CFLAGS needed to avoid conflict between getline defined by
   noweb and the one available on MacOSX by default
 - Call the awkname script so it replaces the awk version used to one
   that exists by default in MacOSX.

Closes Homebrew/homebrew#8395.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-07 16:51:58 -06:00
Adam Vandenberg
4147b05c57 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Will Robertson
abc6d531dc noweb 2.11b
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-06 20:45:08 -08:00