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

Commit 8f3800c

Browse files
Making sure path for console matches ProcessEnvironment
1 parent 977b32e commit 8f3800c

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)