mirror of
https://github.com/darlinghq/xcbuild.git
synced 2025-02-16 22:58:27 +00:00
Fix hardcoded macOS ln command
This commit is contained in:
parent
14a8af687a
commit
8c837d260c
@ -119,7 +119,7 @@ resolve(
|
||||
|
||||
Tool::Invocation invocation;
|
||||
invocation.executable() = Tool::Invocation::Executable::External("/bin/sh");
|
||||
invocation.arguments() = { "-c", Escape::Shell(scriptFilePath) };
|
||||
invocation.arguments() = { "-c", "sed -ie 's/\\/bin\\/ln/bsdln/g' " + Escape::Shell(scriptFilePath) + "; " + Escape::Shell(scriptFilePath) };
|
||||
invocation.environment() = environmentVariables;
|
||||
invocation.workingDirectory() = toolContext->workingDirectory();
|
||||
invocation.phonyInputs() = inputFiles; /* User-specified, may not exist. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user