View Single Post
  #2443 (permalink)  
Old 12-23-2009, 12:43 PM
auTONYmous's Avatar
auTONYmous
PPCGeeks Regular
Offline
 
Join Date: May 2009
Posts: 79
Reputation: 75
auTONYmous is becoming a great contributor
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [Always Updating][KITCHEN]6.5 NK-23509/28004-TF2.1/2.5 & Titanium [UC/Sashimi]

Quote:
Originally Posted by raidzero View Post
Yes, I leave no spaces in my kitchen path itself, but in EXT packages it seems to have no problems.
This solves probably 60% of problems with PRB kitchens that seem to always throw errors not matter WHAT you do.

It's the path leading up to the kitchen root. The scripts that run executables under /<kitchen root>/Tools and /<kitchen root>/MyTools are what are affected by path spaces. These are built around DOS/command prompt scripting, and must have paths explicitly enclosed in quotes or using 8.3 path calls to work properly.

The actual executables themselves then use their own built-in APIs and Windows calls for paths below /<kitchen root>, most of which can handle paths with spaces and special chars. Nine times out of ten, they assume "/." to parse to "/<kitchen root>/%current directory%" and use the correct paths for deeper than that. That's why PRB, Ervius VK, and the others work properly with spaced paths below "/<kitchen root>".

As a matter of fact, "/<kitchen root>" itself can actually have spaces in it and still work properly, provided the batch scripts know about it.

(I do the same thing as Sharkie, where I name my kitchens with spaces and the kitchen date stamp. Calk's 4.x kitchen batch scripts properly handle this in most cases. First thing I do with anybody's kitchen is modify the batch scripts to my liking, but there's some info for those who are scratching their heads.)

PS...LOL my Linux is showing...backslash\forward slash...
__________________
HTC Touch Pro 2, Sprint (CDMA)
ROM - Whatever works
Reply With Quote
This post has been thanked 1 times.