]> git.donarmstrong.com Git - lilypond.git/commitdiff
Docs xref checking: append rather than prepend Documentation/ to search path
authorJohn Mandereau <john.mandereau@gmail.com>
Wed, 25 Nov 2009 00:45:50 +0000 (01:45 +0100)
committerJohn Mandereau <john.mandereau@gmail.com>
Fri, 27 Nov 2009 19:05:27 +0000 (20:05 +0100)
This makes xref checking effective again with translated docs.

scripts/auxiliar/check_texi_refs.py

index cf046dddf6a6a0bc7f2bae20a9cb823919d8a4af..45f1e16993581c02fc6fd5509ceca22ac6730ac5 100755 (executable)
@@ -56,9 +56,10 @@ opt_parser.add_option ('-p', '--check-punctuation',
 opt_parser.add_option ("-I", '--include', help="add DIR to include path",
                        metavar="DIR",
                        action='append', dest='include_path',
-                       default=[os.path.abspath (os.getcwd ())])
+                       default=[])
 
 (options, files) = opt_parser.parse_args ()
+options.include_path.append (os.path.abspath (os.getcwd ()))
 
 class InteractionError (Exception):
     pass