summaryrefslogtreecommitdiff
path: root/devel/script/script.xml
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-07-10 15:05:28 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-07-10 15:05:28 -0500
commit5a9f15cd47f438210b56cd9389257ed5320f2ad7 (patch)
tree5d8bee7cb7b2b98c288d06e08fde5a62b9576469 /devel/script/script.xml
parent69b86bd6b2cdfe99b61af19c067430aad9668554 (diff)
downloadhorizon-5a9f15cd47f438210b56cd9389257ed5320f2ad7.tar.gz
horizon-5a9f15cd47f438210b56cd9389257ed5320f2ad7.tar.bz2
horizon-5a9f15cd47f438210b56cd9389257ed5320f2ad7.tar.xz
horizon-5a9f15cd47f438210b56cd9389257ed5320f2ad7.zip
hscript: Use curr_name; work around Alpine bug
On some Alpine systems, '/dev/stdin' cannot be canonicalised. We work around this by hardcoding "<stdin>" as the internal name for scripts read from stdin, similar to Python. This change also ensures messages generated from the parser itself use curr_name (the canonicalised name) instead of the name passed to the Script object.
Diffstat (limited to 'devel/script/script.xml')
0 files changed, 0 insertions, 0 deletions