1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## testasciidoc_usage.dpatch by Alexander Wirt <formorer@debian.org>
4
## All lines beginning with `## DP:' are a description of the patch.
5
## DP: remove .py extension for usage and tell it where the conf is
8
diff -Nur -x '*.orig' -x '*~' asciidoc-8.5.2.obsolete.0.391026079728366/tests/testasciidoc.py asciidoc-8.5.2.obsolete.0.391026079728366.new/tests/testasciidoc.py
9
--- asciidoc-8.5.2.obsolete.0.391026079728366/tests/testasciidoc.py 2010-01-02 11:29:22.000000000 +0100
10
+++ asciidoc-8.5.2.obsolete.0.391026079728366.new/tests/testasciidoc.py 2010-01-02 11:30:39.000000000 +0100
14
-USAGE = '''Usage: testasciidoc.py [OPTIONS] COMMAND
15
+USAGE = '''Usage: testasciidoc [OPTIONS] COMMAND
17
Run AsciiDoc conformance tests specified in configuration FILE.
21
-f, --conf-file=CONF_FILE
22
Use configuration file CONF_FILE (default configuration file is
23
- testasciidoc.conf in testasciidoc.py directory)
24
+ /etc/asciidoc/testasciidoc.conf)
26
Update all test data overwriting existing data'''
32
- conffile = os.path.join(os.path.dirname(sys.argv[0]), 'testasciidoc.conf')
33
+ conffile = '/etc/asciidoc/testasciidoc.conf'