diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-12-07 06:52:09 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-12-07 06:52:09 +0000 |
commit | 134add746097a67013f9548e1e5ece556ed98e60 (patch) | |
tree | a1fed0d934e5061846b5dcf05b3e1a2eaf7c9d80 | |
parent | bd0d8eac42c99514fb3caf40322e6be83555561d (diff) | |
download | portage-134add746097a67013f9548e1e5ece556ed98e60.tar.gz portage-134add746097a67013f9548e1e5ece556ed98e60.tar.bz2 portage-134add746097a67013f9548e1e5ece556ed98e60.zip |
Make repoman bail out if it's unable to generate the Manifest.
svn path=/main/trunk/; revision=5200
-rwxr-xr-x | bin/repoman | 5 |
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") |