mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
Fix submodule sync when nested in another repo on Windows
This commit is contained in:
parent
b2049209ff
commit
29adf9eee0
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ fn locate_git_head() -> Option<BuildInput> {
|
|||
.filter_map(|p| {
|
||||
let head = p.unwrap().path().join("HEAD");
|
||||
if head.exists() {
|
||||
Some(head.to_string())
|
||||
Some(head.as_str().replace(':', "$:").to_string())
|
||||
} else {
|
||||
None
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue