[SVN] Revision 1864

Allan Odgaard allan at macromates.com
Fri Sep 30 03:15:09 UTC 2005


• added require_cmd which you can use to test for the existence of a (required) shell command, before actually using it

It outputs an error message containing the locations searched (as HTML) and if given a second argument, places that text in the output (wrapped in <p>…</p>). It exits on error.

E.g.: require_cmd ruby "You can set the <tt>TM_RUBY</tt> variable or add the location to your shell path."
or just: require_cmd pdflatex

For commands shipped with OS X, there's no need to use require_cmd.

Changed:
U   trunk/Support/lib/bash_init.sh



More information about the textmate-dev mailing list