|
@@ -179,7 +179,7 @@ namespace Usm {
|
|
|
}
|
|
}
|
|
|
modified_flags = modified_flags | SubprocessFlags.STDOUT_PIPE;
|
|
modified_flags = modified_flags | SubprocessFlags.STDOUT_PIPE;
|
|
|
|
|
|
|
|
- var proc = new Subprocess.newv(new string[] { path, effective_build_path }, modified_flags);
|
|
|
|
|
|
|
+ var proc = new Subprocess.newv(new string[] { path, Paths.ensure_trailing_slash(effective_build_path) }, modified_flags);
|
|
|
|
|
|
|
|
// Start a new thread to monitor STDOUT for progress information
|
|
// Start a new thread to monitor STDOUT for progress information
|
|
|
ThreadFunc<void> progress_thread_func = () => {
|
|
ThreadFunc<void> progress_thread_func = () => {
|
|
@@ -240,7 +240,7 @@ namespace Usm {
|
|
|
|
|
|
|
|
return proc;
|
|
return proc;
|
|
|
} else {
|
|
} else {
|
|
|
- var proc = new Subprocess.newv(new string[] { path, effective_build_path }, flags);
|
|
|
|
|
|
|
+ var proc = new Subprocess.newv(new string[] { path, Paths.ensure_trailing_slash(effective_build_path) }, flags);
|
|
|
|
|
|
|
|
// Restore original working directory after subprocess completes
|
|
// Restore original working directory after subprocess completes
|
|
|
Environment.set_current_dir(original_working_dir);
|
|
Environment.set_current_dir(original_working_dir);
|
|
@@ -262,7 +262,7 @@ namespace Usm {
|
|
|
|
|
|
|
|
// Change to the working directory for subprocess execution
|
|
// Change to the working directory for subprocess execution
|
|
|
Environment.set_current_dir(working_dir);
|
|
Environment.set_current_dir(working_dir);
|
|
|
- var proc = new Subprocess.newv(new string[] { path, build_path }, flags);
|
|
|
|
|
|
|
+ var proc = new Subprocess.newv(new string[] { path, Paths.ensure_trailing_slash(build_path) }, flags);
|
|
|
|
|
|
|
|
// Restore original working directory after subprocess completes
|
|
// Restore original working directory after subprocess completes
|
|
|
Environment.set_current_dir(original_working_dir);
|
|
Environment.set_current_dir(original_working_dir);
|
|
@@ -299,7 +299,7 @@ namespace Usm {
|
|
|
// Change to the working directory for subprocess execution
|
|
// Change to the working directory for subprocess execution
|
|
|
Environment.set_current_dir(working_dir);
|
|
Environment.set_current_dir(working_dir);
|
|
|
new_paths.set_envs();
|
|
new_paths.set_envs();
|
|
|
- var proc = new Subprocess.newv(new string[] { path, build_path, install_path, type.to_string() }, flags);
|
|
|
|
|
|
|
+ var proc = new Subprocess.newv(new string[] { path, Paths.ensure_trailing_slash(build_path), Paths.ensure_trailing_slash(install_path), type.to_string() }, flags);
|
|
|
|
|
|
|
|
// Restore original working directory after subprocess completes
|
|
// Restore original working directory after subprocess completes
|
|
|
Environment.set_current_dir(original_working_dir);
|
|
Environment.set_current_dir(original_working_dir);
|
|
@@ -320,7 +320,7 @@ namespace Usm {
|
|
|
|
|
|
|
|
// Change to the working directory for subprocess execution
|
|
// Change to the working directory for subprocess execution
|
|
|
Environment.set_current_dir(working_dir);
|
|
Environment.set_current_dir(working_dir);
|
|
|
- var proc = new Subprocess.newv(new string[] { path, build_path, type.to_string() }, flags);
|
|
|
|
|
|
|
+ var proc = new Subprocess.newv(new string[] { path, Paths.ensure_trailing_slash(build_path), type.to_string() }, flags);
|
|
|
|
|
|
|
|
// Restore original working directory after subprocess completes
|
|
// Restore original working directory after subprocess completes
|
|
|
Environment.set_current_dir(original_working_dir);
|
|
Environment.set_current_dir(original_working_dir);
|
|
@@ -352,7 +352,7 @@ namespace Usm {
|
|
|
|
|
|
|
|
// Change to the working directory for subprocess execution
|
|
// Change to the working directory for subprocess execution
|
|
|
Environment.set_current_dir(working_dir);
|
|
Environment.set_current_dir(working_dir);
|
|
|
- var proc = new Subprocess.newv(new string[] { path, build_path }, flags);
|
|
|
|
|
|
|
+ var proc = new Subprocess.newv(new string[] { path, Paths.ensure_trailing_slash(build_path) }, flags);
|
|
|
|
|
|
|
|
// Restore original working directory after subprocess completes
|
|
// Restore original working directory after subprocess completes
|
|
|
Environment.set_current_dir(original_working_dir);
|
|
Environment.set_current_dir(original_working_dir);
|