Commit Graph

15 Commits (f5bc2f5ae34937b0f9d3cbd6fccb49efa3ff9c37)

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
Jack Nagel 89af76d0d9 Convert some /usr/bin/which calls to use the 'which' method
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-07 21:05:55 -05:00
Jack Nagel 6ce735db99 Add and use plist helper methods
These will be used to unify the label namespaces in embedded plists,
i.e. 'homebrew.mxcl.<formula>'.

plist_path returns the full path to a plist file located at the top
level of the keg; plist_path.basename can be used if just the filename
is needed.

c.f. Homebrew/homebrew#9346.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-03 19:50:58 -06:00
Jack Nagel cce644e300 Normalize paths in embedded plist files
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-03 19:28:56 -06:00
Robert Newson 14c5b96daf couchdb-lucene 0.8.0
Also re-enabled tests

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-01-12 20:38:13 -08:00
Adam Vandenberg d205c72966 Fix plist permissions for Lion 2011-09-02 14:41:57 -07:00
Adam Vandenberg 4147b05c57 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Carlos Rodriguez 9c6a41ddc6 Clean up LaunchAgent caveats.
Documentation now has instructions on creating ~/Library/LaunchAgents
directory for first time installs of Formulas.
Appending trailing slash to Formula documentation in regards to copying
plists to LaunchAgents directory.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-05 10:13:14 -08:00
Mike McQuaid 5fe8207fc3 Update couchdb-lucene to 0.6.0.
Closes Homebrew/homebrew#3287.
2011-01-06 22:48:02 +00:00
Tianyi Cui 8b275c916a Use https for all GitHub URLs
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-11-18 20:14:27 -08:00
Trevor Turk 1c1436581c couchdb-lucene: recommend putting plist in user-specific directory
Signed-off-by: David Höppner <0xffea@gmail.com>

* merge 2 commits
2010-09-01 17:57:32 +02:00
Adam Vandenberg 55b98a9421 Update formulae to use path shortcuts 2010-08-08 11:24:36 -07:00
Adam Vandenberg 064556e910 couchdb-lucene version 0.5.3 2010-07-04 10:44:51 -07:00
Trevor Turk ffacfc6cea update couchdb-lucene to 0.5.0
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-05-02 18:05:37 -07:00
Carlo Cabanilla d82aac74c9 adding couchdb-lucene formula
Signed-off-by: Adam Vandenberg <flangy@gmail.com>

* Tweaked path concatenation a bit
* Tweaked writing out the config file a bit
2010-02-25 16:20:14 -08:00