diff --git a/build/jam/OptionalPackages b/build/jam/OptionalPackages index 6a6d3150b8..414c82cd2f 100644 --- a/build/jam/OptionalPackages +++ b/build/jam/OptionalPackages @@ -1182,10 +1182,14 @@ if [ IsOptionalHaikuImagePackageAdded XZ-Utils ] { : ; AddExpanderRuleToHaikuImage "application/x-xz" : .tar.xz - : "xz -dc \\0045s | tar tvf -" - : "xz -dc \\0045s | tar xvf -" + : "tar -Jtvf \\0045s" + : "tar -Jxvf \\0045s" ; AddExpanderRuleToHaikuImage "application/x-xz" : .txz + : "tar -Jtvf \\0045s" + : "tar -Jxvf \\0045s" + ; + AddExpanderRuleToHaikuImage "application/x-xz" : .xz : "echo \\0045s | sed 's/.xz\\\$//g'" : "xz -df \\0045s" ;