diff --git a/src/main.rs b/src/main.rs index 3bbfc3e..5133da6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -172,7 +172,7 @@ fn run( repo_path.to_str().unwrap(), src.to_str().unwrap(), ], - storage, + Path::new("."), )?; debug!("checking out commit {}", commit); @@ -206,8 +206,12 @@ fn run( /// Run a command in a directory. fn runcmd(log: &mut LogFile, argv: &[&str], cwd: &Path) -> Result<(), NativeError> { + debug!("runcmd: argv={:?}", argv); + debug!("runcmd: cwd={:?}", cwd); + log.write_str("## Run command\n\n")?; log.write(format!("~~~\n{:?}\n~~~\n\n", argv))?; + log.write(format!("in directory: {}n", cwd.display()))?; assert!(!argv.is_empty()); let argv0 = argv[0];