summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/repoman5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/repoman b/bin/repoman
index 2b0909c79..443e89192 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -822,8 +822,9 @@ for x in scanlist:
if mymode in ("fix", "commit"):
repoman_settings["O"] = checkdir
- portage.digestgen(
- [], repoman_settings, manifestonly=1, myportdb=portdb)
+ if not portage.digestgen([], repoman_settings, myportdb=portdb):
+ print "Unable to generate manifest."
+ sys.exit(1)
mf = Manifest(checkdir, repoman_settings["DISTDIR"])
mydigests=mf.getTypeDigests("DIST")