all: prefix environment variables with MACH_
This commit is contained in:
parent
ade12bcd14
commit
b4799cfd5a
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ fn determineSdkRoot(allocator: std.mem.Allocator, org: []const u8, name: []const
|
||||||
var sdk_root_dir: []const u8 = undefined;
|
var sdk_root_dir: []const u8 = undefined;
|
||||||
var sdk_path_dir: []const u8 = undefined;
|
var sdk_path_dir: []const u8 = undefined;
|
||||||
var custom_sdk_path = false;
|
var custom_sdk_path = false;
|
||||||
if (std.process.getEnvVarOwned(allocator, "SDK_PATH")) |sdk_path| {
|
if (std.process.getEnvVarOwned(allocator, "MACH_SDK_PATH")) |sdk_path| {
|
||||||
custom_sdk_path = true;
|
custom_sdk_path = true;
|
||||||
sdk_path_dir = sdk_path;
|
sdk_path_dir = sdk_path;
|
||||||
sdk_root_dir = try std.fs.path.join(allocator, &.{ sdk_path, name });
|
sdk_root_dir = try std.fs.path.join(allocator, &.{ sdk_path, name });
|
||||||
|
|
Loading…
Add table
Reference in a new issue