Home Download Buy Blog Forum Support

Build System Environment Variables not set

Build System Environment Variables not set

Postby leafpaul on Sun Oct 27, 2013 7:18 pm

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).
leafpaul
 
Posts: 1
Joined: Sun Mar 03, 2013 6:08 pm

Re: Build System Environment Variables not set

Postby coordinated on Fri Dec 13, 2013 12:53 pm

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.
coordinated
 
Posts: 1
Joined: Tue May 28, 2013 3:42 pm


Return to Technical Support

Who is online

Users browsing this forum: Majestic-12 [Bot] and 33 guests