Fix XSD 4.2 extraction#105
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the XSD installer script to handle the packaging layout change in XSD 4.2+ tarballs by stripping the /usr/local/ prefix during extraction so the install tree matches the expected modulefile layout.
Changes:
- Adjust extraction behavior for XSD >= 4.2.0 by increasing
tar --strip-componentsduring unpacking.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| tar -xJf xsd-${version}-x86_64-linux-glibc2.31.tar.xz -C ${install_dir} --strip-components=3 | ||
| fi | ||
|
|
|
The package for XSD 4.2 has the executable binary, but no |
|
@copilot the layout of the 4.2 package won't change, so no need to do a search. |
Understood — since the tarball layout is stable ( |
It turns out we need the includes too so these checks have been reinstated (f40d0d4) |
Strip
usr/local/from extracted path