install: fix ospf mdr repo checkout location

This commit is contained in:
Blake Harnden 2020-09-09 16:37:23 -07:00
parent 57e6df51d3
commit 202e681fff

View file

@ -189,8 +189,8 @@ def install_ospf_mdr(c: Context, os_info: OsInfo, hide: bool) -> None:
ospf_dir = "../ospf-mdr" ospf_dir = "../ospf-mdr"
ospf_url = "https://github.com/USNavalResearchLaboratory/ospf-mdr.git" ospf_url = "https://github.com/USNavalResearchLaboratory/ospf-mdr.git"
c.run(f"git clone {ospf_url} {ospf_dir}", hide=hide) c.run(f"git clone {ospf_url} {ospf_dir}", hide=hide)
c.run("git checkout 26fe5a4401a26760c553fcadfde5311199e89450", hide=hide)
with c.cd(ospf_dir): with c.cd(ospf_dir):
c.run("git checkout 26fe5a4401a26760c553fcadfde5311199e89450", hide=hide)
c.run("./bootstrap.sh", hide=hide) c.run("./bootstrap.sh", hide=hide)
c.run( c.run(
"./configure --disable-doc --enable-user=root --enable-group=root " "./configure --disable-doc --enable-user=root --enable-group=root "