Whenever I try to run GetBundles Get Bundles command I get the error message:
/bin/bash: line 14: ~/Library/Logs/TextMateGetBundles.log: cannot overwrite existing file
If I delete the above file then the Get Bundles command will run once and then the error occurs again.
I have just been upgraded to TextMate 1.5.8 (1498)
Any suggestions ?
Phil
On 14 Feb 2009, at 02:31, Phil Molyneux wrote:
Whenever I try to run GetBundles Get Bundles command I get the error message:
/bin/bash: line 14: ~/Library/Logs/TextMateGetBundles.log: cannot overwrite existing file [...] Any suggestions ?
Presumably you ‘set -C’ in one of your bash startup files.
Hans: Unless you need stuff from these, you can give the command a #!/ bin/bash shebang to skip sourcing of user profiles, alternatively rm the file first or use ‘>>’ to append to it (probably append is the more correct thing, since this is a log file).
Thanks Allan - I have
set -o noclobber # prevent output redirection '>','>&','<>' overwriting files
in my ~/.bashrc which is equivalent to set -C
I thought that was being prudent.
Cheers - Phil
Allan Odgaard wrote:
On 14 Feb 2009, at 02:31, Phil Molyneux wrote:
Whenever I try to run GetBundles Get Bundles command I get the error message:
/bin/bash: line 14: ~/Library/Logs/TextMateGetBundles.log: cannot overwrite existing file [...] Any suggestions ?
Presumably you ‘set -C’ in one of your bash startup files.
Hans: Unless you need stuff from these, you can give the command a #!/ bin/bash shebang to skip sourcing of user profiles, alternatively rm the file first or use ‘>>’ to append to it (probably append is the more correct thing, since this is a log file).
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On 14 Feb 2009, at 02:31, Phil Molyneux wrote:
Whenever I try to run GetBundles Get Bundles command I get the error message:
/bin/bash: line 14: ~/Library/Logs/TextMateGetBundles.log: cannot overwrite existing file
Phil, thanks for the report. Should be fixed in the latest GetBundles version.
Furthermore GetBundles needed a fix for displaying information about bundles hosted on GitHub. [The search API is running again :) but it uses a completely different syntax]
Thus please update GetBundles!
Cheers,
--Hans