Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 2971a8a

Browse files
Merge remote-tracking branch 'remotes/origin/fixes/open-shell-standard-path' into fixes/mac-path-variable
2 parents a93b2cd + 8f3800c commit 2971a8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitHub.Api/OutputProcessors/ProcessManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public void RunCommandLineWindow(NPath workingDirectory)
8787
var envVars = startInfo.EnvironmentVariables;
8888
var scriptContents = new[] {
8989
$"cd \"{envVars["GHU_WORKINGDIR"]}\"",
90-
$"PATH=\"{envVars["GHU_FULLPATH"]}\":$PATH /bin/bash"
90+
$"PATH=\"{envVars["GHU_FULLPATH"]}\" /bin/bash"
9191
};
9292
environment.FileSystem.WriteAllLines(envVarFile, scriptContents);
9393
Mono.Unix.Native.Syscall.chmod(envVarFile, (Mono.Unix.Native.FilePermissions)493); // -rwxr-xr-x mode (0755)

0 commit comments

Comments
 (0)