Fix dohtml so that it continues to install files even after some fail. Thanks to...
authorZac Medico <zmedico@gentoo.org>
Sun, 14 Jan 2007 05:06:51 +0000 (05:06 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 14 Jan 2007 05:06:51 +0000 (05:06 -0000)
svn path=/main/trunk/; revision=5642

bin/dohtml

index 054ab36ba2d64d68cf9625dd29c78dbe7a68159e..cdffad645ccb45b86f32c7e147dbfd4e61409d12 100755 (executable)
@@ -158,7 +158,8 @@ def main():
        for x in args:
                basename = os.path.basename(x)
                dirname  = os.path.dirname(x)
-               success = success and install(basename, dirname, options)
+               if not install(basename, dirname, options):
+                       success = False
        
        if success:
                retcode = 0