[SVN] r2622 (Subversion)
Allan Odgaard
throw-away-1 at macromates.com
Mon Jan 30 03:20:56 UTC 2006
On 30/1/2006, at 2:16, Chris Thomas wrote:
> • Make status work on selected folders in the project list, falling
> back to the project dir and then TM_DIRECTORY
I noticed you set IFS to ', presumably so that the expansion of
TM_SELECTED_FILES would get split on that character.
However, the “proper” way is to expand it with quotes, so that the
shell doesn't do any word-splitting, and then put “eval” first on the
line, which makes the shell re-evaluate the line after variable
expansion.
So that'd make it something like this:
eval "$TM_SVN" status "$TM_SELECTED_FILES" 2>&1 |"${TM_RUBY:-
ruby}" -- "${TM_BUNDLE_SUPPORT}/format_status.rb" "--status"
More information about the textmate-dev
mailing list