scijava / scijava-scripts

Shell scripts for scientific projects written in Java
The Unlicense
15 stars 16 forks source link

Replace quotes for xmllint on Windows Git Bash #16

Closed imagejan closed 7 years ago

imagejan commented 7 years ago

Fixes #15 on Windows.

@ctrueden could you please test if this still works for you?

Surprisingly, xmllint in Git Bash only accepted this way of quoting, otherwise it would return an empty XPath set.

ctrueden commented 7 years ago

Should be OK. Worked in my tests. Actually, I think it's generally safer/better because everything inside the single quotes is literal, not intended for expansion by any shell. Thanks for the fix!