Skip to content

Commit

Permalink
Merge pull request #1103 from Hoolean/misc-craters
Browse files Browse the repository at this point in the history
Two small fixes for two small crater crashes
  • Loading branch information
rsheeter authored Nov 10, 2024
2 parents 9b7a563 + 0af851f commit 66ecdb4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fontc_crater/src/target.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ impl Target {
let just_source_dir = self.source_dir.file_name().unwrap();
let rel_source_path = Path::new(just_source_dir).join(&self.source);
let mut cmd = format!(
"python resources/scripts/ttx_diff.py {repo_url}#{}",
"python resources/scripts/ttx_diff.py '{repo_url}#{}'",
rel_source_path.display()
);
if self.build == BuildType::GfTools {
Expand Down
2 changes: 1 addition & 1 deletion resources/scripts/ttx_diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ def resolve_source(source: str) -> Path:
Path.home() / ".fontc_crater_cache" / org_name / repo_name
).resolve()
if not local_repo.parent.is_dir():
local_repo.parent.mkdir()
local_repo.parent.mkdir(parents=True)
if not local_repo.is_dir():
cmd = ("git", "clone", source_url._replace(fragment="").geturl())
print("Running", " ".join(cmd), "in", local_repo.parent)
Expand Down

0 comments on commit 66ecdb4

Please sign in to comment.