[SVN] Re: Can't read `$TM_PROJECT_DIRECTORY` in TM2 bundle
George McGinley Smith
george at gsgd.co.uk
Thu Apr 26 12:01:04 UTC 2012
Ron DeVera wrote:
>
> I'm having trouble reading `$TM_PROJECT_DIRECTORY` from within another
> shell
> variable. I have a TM2 bundle whose settings contain this:
>
> ...
>
> # Source: https://gist.github.com/1478685
> projectDirectory = "$CWD"
>
> This didn't seem to affect `$TM_PROJECT_DIRECTORY`, which remains blank.
>
>
Looks like TM2 uses projectDirectory instead of TM_PROJECT_DIRECTORY. You
could either add
TM_PROJECT_DIRECTORY = "$projectDirectory"
after you initial
projectDirectory = "$CWD"
Which would enable backwards compatibility, or update your scripts to use
the $projectDirectory.
--
View this message in context: http://old.nabble.com/Can%27t-read-%60%24TM_PROJECT_DIRECTORY%60-in-TM2-bundle-tp33744575p33752172.html
Sent from the textmate-dev mailing list archive at Nabble.com.
More information about the textmate-dev
mailing list