Make sure to skip info dir files with the .old extension. (trunk r7602)
authorZac Medico <zmedico@gentoo.org>
Tue, 14 Aug 2007 20:16:31 +0000 (20:16 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 14 Aug 2007 20:16:31 +0000 (20:16 -0000)
svn path=/main/branches/2.1.2/; revision=7603

bin/emerge

index fc7d31d696be26ac2c6d2b29b992c891d98bb7fa..448608196d772596d65d93deb845076b1aaeacdf 100755 (executable)
@@ -4303,7 +4303,8 @@ def chk_updated_info_files(root, infodirs, prev_mtimes, retval):
                                        if x.startswith("dir"):
                                                skip = False
                                                for ext in dir_extensions:
-                                                       if x == "dir" + ext:
+                                                       if x == "dir" + ext or \
+                                                               x == "dir" + ext + ".old":
                                                                skip = True
                                                                break
                                                if skip: