chef / omnibus

Easily create full-stack installers for your project across a variety of platforms.
Apache License 2.0
1.29k stars 296 forks source link

Replace BSD tar with GNU tar on Windows #1065

Closed jeremiahsnapp closed 2 years ago

jeremiahsnapp commented 2 years ago

We are using the latest version of msys2 and it comes with GNU tar.

GNU tar requires --force-local when the path to the local compressed file has a colon in it.

GNU tar treats the "safe" path's backslash separator as an escape character which causes problems so instead we will use the default path separator which is the forward slash.

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
87.5% 87.5% Duplication