From 134add746097a67013f9548e1e5ece556ed98e60 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 7 Dec 2006 06:52:09 +0000 Subject: [PATCH] Make repoman bail out if it's unable to generate the Manifest. svn path=/main/trunk/; revision=5200 --- bin/repoman | 5 +++-- 1 file 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") -- 2.26.2