diff --git a/sau/gentoo.py b/sau/gentoo.py index d6101d9..da73c68 100644 --- a/sau/gentoo.py +++ b/sau/gentoo.py @@ -168,7 +168,7 @@ def get_eclasses(atom): return eclasses 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) dependencies = [l.strip() for l in out.splitlines()] return dependencies