Hi Jonathan, On Thu, 28 Apr 2016, Jonathan Wakely wrote: > When I ran maintainer-scripts/generate_libstdcxx_web_docs to make the > onlinedocs/libstdc++ for 6.1 the other day it failed because I use a > relative path for the output dir argument. This would make it work, > but is relying on GNU realpath OK? realpath also exists on other systems, though the options you used are not portable. How about going with your patch, just without the -es options? (I verified that this works on FreeBSD, for example.) > I could instead use a Bashism like: > > DOCSDIR=$(test "${2:0:1}" = "/" && echo "$2" || echo "$PWD/$2") That gives me major headache. :-) > If it's OK for trunk it could go on the banches too, for generating > the 4.9.4, 5.4 and 6.2 docs. Let's go with your patch for trunk and the GCC 6 branch. Beyond those, I would not care, though if you feel about it a bit more strongly, no objection. Note, there is a second hunk in the patch you posted (cf. the attached) that makes sense, but will need to be added to the ChangeLog. Gerald