forked from Mirrors/flatpak-builder
builder: After fetching the mirrored git repo, set back the right origin
This is nice if you want to later pull new data into the repo.tingping/wmclass
parent
873492af62
commit
2c92fcb1d6
|
@ -486,6 +486,10 @@ builder_source_git_extract (BuilderSource *source,
|
|||
if (!git_extract_submodule (url, dest, context, error))
|
||||
return FALSE;
|
||||
|
||||
if (!git (dest, NULL, error,
|
||||
"config", "--local", "remote.origin.url", url, NULL))
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue