Hi, this is a kind of a report but would like to ask anything to check to understand following behaviour.
I have been encountered strange behaviour of variables in build system:
my directory structure is
/Users/username/Documents/MasaYanInformation/html5/haml/test.haml
however ‘haml’ always becomes ‘HAML’ in $file_path, namely,
/Users/username/Documents/MasaYanInformation/html5/HAML/test.haml
It is checked with new build system as
{
“cmd”: “echo”, “$file_path”],
}
And also ‘html’ is also replaced by ‘HTML’
What I’m doing is following.
{
“selector”: “source.haml”,
“cmd”: “haml”, “$file”, “${file_path/haml/html/}/$file_base_name.html”]
}
Well, it works with following.
{
“selector”: “source.haml”,
“cmd”: “haml”, “$file”, “${file_path/HAML/HTML/}/$file_base_name.html”]
}
But it is really strange and it will cause troubles in the future if the directory name randomly changed…
One thing I have in mind is that SugarSync causes this problem.
I’m syncing the above directories. In my host computer, it is just fine without capital directory names…
The directory names are non-capital in Finder and terminal.
Mac OS X 10.9.4
Sublime Text 3 Build 3059
Sincerely,
masa