fix go rebuild

This commit is contained in:
Fredrik Eriksson 2024-08-17 21:50:42 +02:00
parent cc206f6198
commit 3d3dd379b7
Signed by: feffe
GPG Key ID: E6B5580B853D322B

View File

@ -168,7 +168,7 @@ def get_eclasses(atom):
return eclasses return eclasses
def get_dependencies(atom): def get_dependencies(atom):
cmd=[ EQUERY_PATH, '-q', 'd', '-F', '$cp', name ] cmd=[ EQUERY_PATH, '-q', 'd', '-F', '$cp', atom ]
ret, out, err = sau.helpers.exec_cmd(cmd) ret, out, err = sau.helpers.exec_cmd(cmd)
dependencies = [l.strip() for l in out.splitlines()] dependencies = [l.strip() for l in out.splitlines()]
return dependencies return dependencies