Commit 04e39d7c authored by Ximin Luo's avatar Ximin Luo

rdata: rm cmdline indents, looks nicer in output; add Rscript to external-tools

parent d3a94293
......@@ -31,14 +31,7 @@ import os.path
HEADER = binascii.a2b_hex("580a000000020003")
# has to be one line
DUMP_RDB = """lazyLoad(commandArgs(TRUE));\
for (obj in ls()) {\
print(obj);\
for (line in deparse(get(obj))) {\
cat(line,"\\n")\
}\
}\
"""
DUMP_RDB = """lazyLoad(commandArgs(TRUE)); for (obj in ls()) { print(obj); for (line in deparse(get(obj))) cat(line,"\\n"); }"""
# unfortunately this above snippet can't detect the build-path differences so
# diffoscope still falls back to a hexdump
......
......@@ -185,6 +185,9 @@ EXTERNAL_TOOLS = {
'arch': 'rpmextract',
'FreeBSD': 'rpm2cpio',
},
'Rscript': {
'debian': 'r-base-core',
},
'showttf': {
'debian': 'fontforge-extras',
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment