Hi,
I just built up a Command as BASH which calls a perl script via TM_BUNDLE_SUPPORT. The perl script is calling CocoaDialog via $ENV{'TM_SUPPORT_PATH'} and so forth.
Everything works fine.
Then I installed the same tmBundle at an other Mac. Same OS and TM version.
The funny thing now is that the perl script cannot call CocoaDialog via TM_SUPPORT_PATH because TM_SUPPORT_PATH is set to /Users/Bibiko/Library/Application Support/TextMate/Support.
I promise that I didn't set this variable to that path.
On the other hand I tried the bundle command 'Find In all Document' which is a ruby script. Here it works with the variable TM_SUPPORT_PATH. !!??!!
The only difference is that this ruby script is not written as a separate file.
Please, help is needed.
If I use the command 'Show all TM.*' the TM_SUPPORT_PATH is also set to this weird path.
Thanks in advance
Hans
---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
Quoting Allan Odgaard throw-away-1@macromates.com:
On 19. Oct 2006, at 18:42, Hans-Joerg Bibiko wrote:
The funny thing now is that the perl script cannot call CocoaDialog via TM_SUPPORT_PATH because TM_SUPPORT_PATH is set to /Users/Bibiko/Library/Application Support/TextMate/Support.
Does that folder exist?
Well, this is a good question. I didn't know that this folder could exist. Now I know it does, unfortunately. So my promise that I didn't set TM_SUPPORT_PATH ...
OK. This folder exists. It has almost the same content as /Applications/TextMate.app/Contents/SharedSupport/Support. The only addition is that within each subfolder exists a folder called /.svn. In my opinion I didn't play with svn. svn even isn't installed at that machine. (?)
Well, I believe that TM_SUPPORT_PATH is set to the correct path at 99.9999% of all Macs. Sorry for my confusion.
I'll reinstall TM now, but it would be good to know what I did ;)
Many thanks!
Best,
Hans
---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.