Sublime Forum

Build System Environment Variables not set

#1

When using environment variables in a build system eg for working_dir, $project_path does not hold any value. Any idea as to why this might be, or any way of checking the values held by these internal variables?

eg “working_dir”: “${project_path}”,

has no effect in a .sublime-build file

$folder - points to the root of all the projects (somewhat oddly).

0 Likes

#2

I’m also seeing this in build 3047 on OS-X 10.9.

Build system variables (including $file_path and $project_path) are expanded in:

  • cmd

  • working_dir

But not in:

  • path

  • env

  • name (not sure I’d expect it to, though!)

This happens in both a “build_systems” dictionary item in the project’s definition file and in a personal .sublime-build file.

0 Likes

#3

this is my issue as well whats the solution?

0 Likes