diff options
author | 2017-04-05 10:22:55 -0300 | |
---|---|---|
committer | 2017-04-11 14:35:15 -0600 | |
commit | 686b0d9bb4d900758b3ed88f037e46671c7ccef7 (patch) | |
tree | 4358093e32b08d6ec3acbe5c4ed9cfc72b766e58 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'user-space-api' into docs-next (diff) | |
download | linux-dev-686b0d9bb4d900758b3ed88f037e46671c7ccef7.tar.xz linux-dev-686b0d9bb4d900758b3ed88f037e46671c7ccef7.zip |
tmplcvt: make the tool more robust
Currently, the script just assumes to be called at
Documentation/sphinx/. Change it to work on any directory,
and make it abort if something gets wrong.
Also, be sure that both parameters are specified.
That should avoid troubles like this:
$ Documentation/sphinx/tmplcvt Documentation/DocBook/writing_usb_driver.tmpl
sed: couldn't open file convert_template.sed: No such file or directory
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions